[074/906] up
authorJulien Isorce <julien.isorce@gmail.com>
Mon, 19 May 2008 23:06:07 +0000 (23:06 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:16 +0000 (19:31 +0000)
git-svn-id: svn://svn.wobow.com/GStreamer_playground/gst-plugins-gl@446 93df14bb-0f41-7a43-8087-d3e2a2f0e464

gst-libs/gst/gl/gstgldisplay.c

index ad99971..bd31132 100644 (file)
@@ -1890,7 +1890,7 @@ gst_gl_display_loadGLSLprogram (gchar* textFProgram)
        
        //Compile the shader
     FHandle = glCreateShaderObjectARB (GL_FRAGMENT_SHADER_ARB);
-    glShaderSourceARB (FHandle, 1, &textFProgram, NULL);
+    glShaderSourceARB (FHandle, 1, (const GLcharARB**)&textFProgram, NULL);
     glCompileShaderARB (FHandle);
 
     //Print the compilation log