mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 13:18:52 +00:00
[494/906] cmake build: use config.h from win32/common and add some guidelines
This commit is contained in:
parent
bd0982d057
commit
46eea6f943
2 changed files with 2 additions and 4 deletions
|
@ -181,8 +181,8 @@ gst_gl_window_new (DWORD_PTR external_gl_context)
|
|||
g_debug ("gl window created: %lud\n", (gulong) priv->internal_win_id);
|
||||
|
||||
//device is set in the window_proc
|
||||
if (!priv->display) {
|
||||
g_debug ("failed to create display\n");
|
||||
if (!priv->device) {
|
||||
g_debug ("failed to create device\n");
|
||||
goto failure;
|
||||
}
|
||||
|
||||
|
@ -191,7 +191,6 @@ gst_gl_window_new (DWORD_PTR external_gl_context)
|
|||
return window;
|
||||
|
||||
failure:
|
||||
g_mutex_unlock (priv->x_lock);
|
||||
g_object_unref (G_OBJECT (window));
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
@ -195,7 +195,6 @@ gst_gl_window_new (gulong external_gl_context)
|
|||
return window;
|
||||
|
||||
failure:
|
||||
g_mutex_unlock (priv->x_lock);
|
||||
g_object_unref (G_OBJECT (window));
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue