forked from AuroraMiddleware/gtk
macos: mark region as unlikely
This commit is contained in:
parent
86c5f2df6e
commit
443d199868
@ -136,7 +136,7 @@ ensure_gl_view (GdkMacosGLContext *self)
|
||||
nsview = _gdk_macos_surface_get_view (surface);
|
||||
nswindow = _gdk_macos_surface_get_native (surface);
|
||||
|
||||
if (!GDK_IS_MACOS_GL_VIEW (nsview))
|
||||
if G_UNLIKELY (!GDK_IS_MACOS_GL_VIEW (nsview))
|
||||
{
|
||||
NSRect frame;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user