mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-17 11:35:08 -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 GC fb_gc;
|
||||||
static XImage* fb_image;\
|
static XImage* fb_image;
|
||||||
void Window_AllocFramebuffer(Bitmap* bmp) {
|
void Window_AllocFramebuffer(Bitmap* bmp) {
|
||||||
if (!fb_gc) fb_gc = XCreateGC(win_display, win_handle, 0, NULL);
|
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) {
|
void Window_DrawFramebuffer(Rect2D r) {
|
||||||
CGContextRef context = NULL;
|
CGContextRef context = NULL;
|
||||||
CGDataProviderRef provider;
|
CGDataProviderRef provider;
|
||||||
GImageRef image;
|
CGImageRef image;
|
||||||
CGRect rect;
|
CGRect rect;
|
||||||
OSStatus err;
|
OSStatus err;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user