mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
[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:
parent
e1452c50d0
commit
18020765cb
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue