taisei/src/renderer/glescommon/meson.build
Andrei Alexeyev cab432f843
gles: create angle context in webgl mode on windows
Cubemaps are broken in ANGLE's D3D11 backend, except in WebGL mode for
some reason. This is a terrible workaround, but it beats fucked up
rendering in stage backgrounds.
2023-08-28 19:15:40 +02:00

14 lines
325 B
Meson

r_glescommon_deps = ['gl33'] + r_gl33_deps
r_glescommon_libdeps = r_gl33_libdeps
r_glescommon_src = files(
'gles.c',
)
if config.get('TAISEI_BUILDCONF_HAVE_ANGLE', false)
r_glescommon_src += files('angle_egl.c')
r_glescommon_libdeps += dep_glad_egl
else
r_glescommon_src += files('angle_egl_stub.c')
endif