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

reimar subversion at mplayerhq.hu
Sun Mar 8 14:54:38 CET 2015


Author: reimar
Date: Sun Mar  8 14:54:38 2015
New Revision: 37379

Log:
vo_gl: do not use glMapBufferRange if extension not supported.

Modified:
   trunk/libvo/gl_common.c

Modified: trunk/libvo/gl_common.c
==============================================================================
--- trunk/libvo/gl_common.c	Sun Mar  1 02:28:41 2015	(r37378)
+++ trunk/libvo/gl_common.c	Sun Mar  8 14:54:38 2015	(r37379)
@@ -493,7 +493,7 @@ static const extfunc_desc_t extfuncs[] =
   {&mpglDeleteBuffers, NULL, {"glDeleteBuffers", "glDeleteBuffersARB", NULL}},
   {&mpglBindBuffer, NULL, {"glBindBuffer", "glBindBufferARB", NULL}},
   {&mpglMapBuffer, NULL, {"glMapBuffer", "glMapBufferARB", NULL}},
-  {&mpglMapBufferRange, NULL, {"glMapBufferRange", "glMapBufferRangeARB", NULL}},
+  {&mpglMapBufferRange, "ARB_map_buffer_range", {"glMapBufferRange", "glMapBufferRangeARB", NULL}},
   {&mpglUnmapBuffer, NULL, {"glUnmapBuffer", "glUnmapBufferARB", NULL}},
   {&mpglBufferData, NULL, {"glBufferData", "glBufferDataARB", NULL}},
   {&mpglCombinerParameterfv, "NV_register_combiners", {"glCombinerParameterfv", "glCombinerParameterfvNV", NULL}},


More information about the MPlayer-cvslog mailing list