[MPlayer-cvslog] r22344 - trunk/libvo/gl_common.c

reimar subversion at mplayerhq.hu
Sun Feb 25 17:07:52 CET 2007


Author: reimar
Date: Sun Feb 25 17:07:51 2007
New Revision: 22344

Modified:
   trunk/libvo/gl_common.c

Log:
The fragment program functions are and most likely always will be ARB-only,
so do not check for other function name variants.


Modified: trunk/libvo/gl_common.c
==============================================================================
--- trunk/libvo/gl_common.c	(original)
+++ trunk/libvo/gl_common.c	Sun Feb 25 17:07:51 2007
@@ -277,12 +277,12 @@
   {(void **)&ActiveTexture, NULL, {"glActiveTexture", "glActiveTextureARB", NULL}},
   {(void **)&BindTexture, NULL, {"glBindTexture", "glBindTextureARB", "glBindTextureEXT", NULL}},
   {(void **)&MultiTexCoord2f, NULL, {"glMultiTexCoord2f", "glMultiTexCoord2fARB", NULL}},
-  {(void **)&GenPrograms, "_program", {"glGenPrograms", "glGenProgramsARB", "glGenProgramsNV", NULL}},
-  {(void **)&DeletePrograms, "_program", {"glDeletePrograms", "glDeleteProgramsARB", "glDeleteProgramsNV", NULL}},
-  {(void **)&BindProgram, "_program", {"glBindProgram", "glBindProgramARB", "glBindProgramNV", NULL}},
-  {(void **)&ProgramString, "_program", {"glProgramString", "glProgramStringARB", "glProgramStringNV", NULL}},
-  {(void **)&GetProgramiv, "_program", {"glGetProgramiv", "glGetProgramivARB", "glGetProgramivNV", NULL}},
-  {(void **)&ProgramEnvParameter4f, "_program", {"glProgramEnvParameter4f", "glProgramEnvParameter4fARB", "glProgramEnvParameter4fNV", NULL}},
+  {(void **)&GenPrograms, "_program", {"glGenProgramsARB", NULL}},
+  {(void **)&DeletePrograms, "_program", {"glDeleteProgramsARB", NULL}},
+  {(void **)&BindProgram, "_program", {"glBindProgramARB", NULL}},
+  {(void **)&ProgramString, "_program", {"glProgramStringARB", NULL}},
+  {(void **)&GetProgramiv, "_program", {"glGetProgramivARB", NULL}},
+  {(void **)&ProgramEnvParameter4f, "_program", {"glProgramEnvParameter4fARB", NULL}},
   {(void **)&SwapInterval, "_swap_control", {"glXSwapInterval", "glXSwapIntervalEXT", "glXSwapIntervalSGI", "wglSwapInterval", "wglSwapIntervalEXT", "wglSwapIntervalSGI", NULL}},
   {(void **)&TexImage3D, NULL, {"glTexImage3D", NULL}},
   {NULL}



More information about the MPlayer-cvslog mailing list