Previous 15994 Revisions Next

r5131 Thursday 2nd July, 2009 at 22:17:33 UTC by R. Belmont
[SDLMESS] Workaround issue with new Mesa in Fedora 11 update.
[src/osd/sdl]drawogl.c

src/osd/sdl/drawogl.c
r5130r5131
340340
341341
342342// OGL 1.3
343#ifdef GL_ARB_multitexture
344static PFNGLACTIVETEXTUREARBPROC pfn_glActiveTexture   = NULL;       
345#else
343346static PFNGLACTIVETEXTUREPROC pfn_glActiveTexture   = NULL;
347#endif
344348
345349// VBO
346350static PFNGLGENBUFFERSPROC pfn_glGenBuffers      = NULL;
r5130r5131
10271031 
10281032   if ( sdl->useglsl )
10291033   {
1034      #ifdef GL_ARB_multitexture
1035      pfn_glActiveTexture = (PFNGLACTIVETEXTUREARBPROC) SDL_GL_GetProcAddress("glActiveTextureARB");
1036      #else
10301037      pfn_glActiveTexture = (PFNGLACTIVETEXTUREPROC) SDL_GL_GetProcAddress("glActiveTexture");
1038      #endif
10311039      if (!pfn_glActiveTexture)
10321040      {
10331041         if (_once)
10341042         {
1035            mame_printf_warning("OpenGL: GLSL disabled, glActiveTexture not supported\n");
1043            mame_printf_warning("OpenGL: GLSL disabled, glActiveTexture(ARB) not supported\n");
10361044         }
10371045         sdl->useglsl = 0;
10381046      }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team