apartmentEmulator / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

z64 must check for GL_ARB_fragment_shader and GL_ARB_vertex_shader before using #271

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
#266 describes one crash that is related to the missing extension
GL_ARB_vertex_shader and GL_ARB_fragment_shader on some cards. z64 has to
check for them before using them in rglCreateShader or otherwise it will
crash without further informations.

glew (which is used by z64) provides an easy function called
glewGetExtension to check if a specific extension is supported. This is a
splitoff of bug #266 because it contains two different bugs. One is
mupen64plus related and the other one a mesa/intel driver bug.

==25103== Jump to the invalid address stated on the next line
==25103==    at 0x0: ???
==25103==    by 0x102D73CE: rglCreateShader(char const*, char const*)
(glshader.cpp:36)
==25103==    by 0x102CAE06: rglInit() (rgl.cpp:1404)
==25103==    by 0x102D45AC: rglOpenScreen() (rgl_osdep.cpp:322)
==25103==    by 0x102D5452: rdp_process_list() (rdp.cpp:737)
==25103==    by 0x102D83DB: rdpThreadFunc(void*) (maingl.cpp:50)
==25103==    by 0x5915056: SDL_RunThread (in /usr/lib/libSDL-1.2.so.0.11.2)
==25103==    by 0x59595C8: RunThread (in /usr/lib/libSDL-1.2.so.0.11.2)
==25103==    by 0x5BA3579: start_thread (in /lib/libpthread-2.10.1.so)
==25103==    by 0x92B114C: clone (in /lib/libc-2.10.1.so)
==25103==  Address 0x0 is not stack'd, malloc'd or (recently) free'd

Original issue reported on code.google.com by sven@narfation.org on 23 Sep 2009 at 6:31

GoogleCodeExporter commented 8 years ago
Z64 is no longer supported in the core Mupen64Plus project.

Original comment by richard...@gmail.com on 12 Jan 2010 at 10:46