Gfx stack update
[nyanlinux.git] / builders / mesa-gl-amd-sh-ca92a10800bcb09749758ea1664dc0675955ffa0 / contrib / generators_egl.sh
blob73608ac1b77729f2cf2b5b1aacc237d8c3c1a57f
1 printf "Running egl code generators-->\n"
2 mkdir -p $build_dir/src/egl/drivers/dri2
3 # fix gbm/dri level 2/drm egl platform (because most of the builds do enable
4 # the additional x11/dri3/drm egl platform)
5 cp -f $src_dir/src/egl/drivers/dri2/egl_dri2.c $build_dir/src/egl/drivers/dri2
6 patch -i $script_dir/egl_dri2.c.patch $build_dir/src/egl/drivers/dri2/egl_dri2.c &
7 printf "<--egl code generation done\n"