[079/906] up

git-svn-id: svn://svn.wobow.com/GStreamer_playground/gst-plugins-gl@478 93df14bb-0f41-7a43-8087-d3e2a2f0e464
This commit is contained in:
Julien Isorce 2008-05-22 20:10:31 +00:00 committed by Matthew Waters
parent e1452c50d0
commit 18020765cb

View file

@ -411,9 +411,9 @@ gst_gl_display_glutCreateWindow (GstGLDisplay *display)
else
{
//OpenGL > 2.1.0 and Glew > 1.5.0
GString* opengl_version = g_string_new (glGetString (GL_VERSION));
GString* opengl_version = g_string_new ((gchar*) glGetString (GL_VERSION));
gboolean check_versions = g_str_has_prefix (opengl_version->str, "2.1");
GString* glew_version = g_string_new (glewGetString (GLEW_VERSION));
GString* glew_version = g_string_new ((gchar*) glewGetString (GLEW_VERSION));
check_versions = check_versions && g_str_has_prefix (glew_version->str, "1.5");