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

ib subversion at mplayerhq.hu
Wed Jun 12 16:26:15 CEST 2013


Author: ib
Date: Wed Jun 12 16:26:15 2013
New Revision: 36335

Log:
Revert r36287.

All variants are using the code now.

Modified:
   trunk/libvo/gl_common.c

Modified: trunk/libvo/gl_common.c
==============================================================================
--- trunk/libvo/gl_common.c	Tue Jun 11 22:48:43 2013	(r36334)
+++ trunk/libvo/gl_common.c	Wed Jun 12 16:26:15 2013	(r36335)
@@ -1630,7 +1630,6 @@ static const char vertex_shader[] =
   "#endif\n"
   "}\n";
 
-#if defined(CONFIG_GL_EGL_X11) || defined(CONFIG_GL_EGL_ANDROID)
 static GLuint new_gpu_program(void) {
   GLuint program = mpglCreateProgram();
   GLuint shader = compile_shader(GL_VERTEX_SHADER, vertex_shader);
@@ -1638,7 +1637,6 @@ static GLuint new_gpu_program(void) {
   mpglDeleteShader(shader);
   return program;
 }
-#endif
 
 static const char def_frag_shader[] =
   "#ifdef GL_ES\n"


More information about the MPlayer-cvslog mailing list