mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
gl/cocoa: Fix debug statements and platform
This commit is contained in:
parent
a26b8fdceb
commit
16e60d0129
2 changed files with 3 additions and 3 deletions
|
@ -176,7 +176,7 @@ gst_gl_context_cocoa_create_context (GstGLContext *context, GstGLAPI gl_api,
|
|||
glContext = [[NSOpenGLContext alloc] initWithFormat:fmt
|
||||
shareContext:context_cocoa->priv->external_gl_context];
|
||||
|
||||
GST_DEBUG ("NSOpenGL context created: %lud\n", (guintptr) glContext);
|
||||
GST_DEBUG ("NSOpenGL context created: %"G_GUINTPTR_FORMAT, (guintptr) glContext);
|
||||
|
||||
context_cocoa->priv->gl_context = glContext;
|
||||
|
||||
|
@ -262,5 +262,5 @@ gst_gl_context_cocoa_get_gl_api (GstGLContext * context)
|
|||
static GstGLPlatform
|
||||
gst_gl_context_cocoa_get_gl_platform (GstGLContext * context)
|
||||
{
|
||||
return GST_GL_API_COCOA;
|
||||
return GST_GL_PLATFORM_CGL;
|
||||
}
|
||||
|
|
|
@ -148,7 +148,7 @@ gst_gl_window_cocoa_create_window (GstGLWindowCocoa *window_cocoa)
|
|||
NSResizableWindowMask | NSMiniaturizableWindowMask)
|
||||
backing: NSBackingStoreBuffered defer: NO screen: nil gstWin: window_cocoa];
|
||||
|
||||
GST_DEBUG ("NSWindow id: %lud\n", (guintptr) priv->internal_win_id);
|
||||
GST_DEBUG ("NSWindow id: %"G_GUINTPTR_FORMAT, (guintptr) priv->internal_win_id);
|
||||
|
||||
priv->thread = [NSThread currentThread];
|
||||
|
||||
|
|
Loading…
Reference in a new issue