changeset 36239:96be2eda6b76

Revert r36287. All variants are using the code now.
author ib
date Wed, 12 Jun 2013 14:26:15 +0000
parents 1573608248ad
children e8640e3f9b7e
files libvo/gl_common.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/gl_common.c	Tue Jun 11 20:48:43 2013 +0000
+++ b/libvo/gl_common.c	Wed Jun 12 14:26:15 2013 +0000
@@ -1630,7 +1630,6 @@
   "#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 @@
   mpglDeleteShader(shader);
   return program;
 }
-#endif
 
 static const char def_frag_shader[] =
   "#ifdef GL_ES\n"