From eb6d5a85dd8824bf9ed83c99c9783b2cef8f1bf4 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sun, 14 Jul 2019 10:41:21 +1000 Subject: [PATCH] fix linux and osx builds --- src/Window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Window.c b/src/Window.c index 7433b14c7..ca5b7de9e 100644 --- a/src/Window.c +++ b/src/Window.c @@ -1409,7 +1409,7 @@ void Window_ShowDialog(const char* title, const char* msg) { } static GC fb_gc; -static XImage* fb_image;\ +static XImage* fb_image; void Window_AllocFramebuffer(Bitmap* bmp) { if (!fb_gc) fb_gc = XCreateGC(win_display, win_handle, 0, NULL); @@ -1950,7 +1950,7 @@ void Window_AllocFramebuffer(Bitmap* bmp) { void Window_DrawFramebuffer(Rect2D r) { CGContextRef context = NULL; CGDataProviderRef provider; - GImageRef image; + CGImageRef image; CGRect rect; OSStatus err;