mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 11:06:06 -04:00
fix linux and osx builds
This commit is contained in:
parent
c1fdca87b9
commit
eb6d5a85dd
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user