diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c index 88e1020c00..06215d840c 100644 --- a/gst-libs/gst/gl/gstglcontext.c +++ b/gst-libs/gst/gl/gstglcontext.c @@ -109,6 +109,8 @@ load_opengl_module (gpointer user_data) * Proper compilers will optimize away the strcmp */ if (g_strcmp0 (G_MODULE_SUFFIX, "so") == 0) module_opengl = g_module_open ("libGL.so.1", G_MODULE_BIND_LAZY); + else if (g_strcmp0 (G_MODULE_SUFFIX, "dll") == 0) + module_opengl = g_module_open ("opengl32.dll", G_MODULE_BIND_LAZY); /* This automatically handles the suffix and even .la files */ if (!module_opengl)