@@ -1998,12 +1998,12 @@ def test_glframebufferattachmentinfo(self):
19981998 @no_wasm64 ('TODO: LEGACY_GL_EMULATION + wasm64' )
19991999 @requires_graphics_hardware
20002000 def test_sdl_glshader (self ):
2001- self .btest ('test_sdl_glshader.c' , reference = 'browser/test_sdl_glshader.png' , args = ['-O2' , '--closure=1' , '-sLEGACY_GL_EMULATION' , '-lGL' , '-lSDL' ])
2001+ self .btest ('test_sdl_glshader.c' , reference = 'browser/test_sdl_glshader.png' , args = ['-O2' , '--closure=1' , '-sLEGACY_GL_EMULATION' , '-lGL' , '-lSDL' , '-sGL_ENABLE_GET_PROC_ADDRESS' ])
20022002
20032003 @no_wasm64 ('TODO: LEGACY_GL_EMULATION + wasm64' )
20042004 @requires_graphics_hardware
20052005 def test_sdl_glshader2 (self ):
2006- self .btest_exit ('test_sdl_glshader2.c' , args = ['-sLEGACY_GL_EMULATION' , '-lGL' , '-lSDL' ], also_proxied = True )
2006+ self .btest_exit ('test_sdl_glshader2.c' , args = ['-sLEGACY_GL_EMULATION' , '-lGL' , '-lSDL' , '-sGL_ENABLE_GET_PROC_ADDRESS' ], also_proxied = True )
20072007
20082008 @requires_graphics_hardware
20092009 def test_gl_glteximage (self ):
@@ -2145,7 +2145,7 @@ def test_cubegeom_proc(self, opts):
21452145 return glBindBuffer;
21462146}
21472147''' )
2148- self .btest ('third_party/cubegeom/cubegeom_proc.c' , reference = 'third_party/cubegeom/cubegeom.png' , args = opts + ['side.c' , '-sLEGACY_GL_EMULATION' , '-lGL' , '-lSDL' ])
2148+ self .btest ('third_party/cubegeom/cubegeom_proc.c' , reference = 'third_party/cubegeom/cubegeom.png' , args = opts + ['side.c' , '-sLEGACY_GL_EMULATION' , '-lGL' , '-lSDL' , '-sGL_ENABLE_GET_PROC_ADDRESS' ])
21492149
21502150 @no_wasm64 ('wasm64 + LEGACY_GL_EMULATION' )
21512151 @also_with_wasmfs
@@ -2225,12 +2225,12 @@ def test_cubegeom_pre_vao_regal(self):
22252225 @requires_graphics_hardware
22262226 @no_swiftshader
22272227 def test_cubegeom_pre2_vao (self ):
2228- self .btest ('third_party/cubegeom/cubegeom_pre2_vao.c' , reference = 'third_party/cubegeom/cubegeom_pre_vao.png' , args = ['-sLEGACY_GL_EMULATION' , '-lGL' , '-lSDL' ])
2228+ self .btest ('third_party/cubegeom/cubegeom_pre2_vao.c' , reference = 'third_party/cubegeom/cubegeom_pre_vao.png' , args = ['-sLEGACY_GL_EMULATION' , '-lGL' , '-lSDL' , '-sGL_ENABLE_GET_PROC_ADDRESS' ])
22292229
22302230 @no_wasm64 ('wasm64 + LEGACY_GL_EMULATION' )
22312231 @requires_graphics_hardware
22322232 def test_cubegeom_pre2_vao2 (self ):
2233- self .btest ('third_party/cubegeom/cubegeom_pre2_vao2.c' , reference = 'third_party/cubegeom/cubegeom_pre2_vao2.png' , args = ['-sLEGACY_GL_EMULATION' , '-lGL' , '-lSDL' ])
2233+ self .btest ('third_party/cubegeom/cubegeom_pre2_vao2.c' , reference = 'third_party/cubegeom/cubegeom_pre2_vao2.png' , args = ['-sLEGACY_GL_EMULATION' , '-lGL' , '-lSDL' , '-sGL_ENABLE_GET_PROC_ADDRESS' ])
22342234
22352235 @no_wasm64 ('wasm64 + LEGACY_GL_EMULATION' )
22362236 @requires_graphics_hardware
0 commit comments