macOS: Fix resizing semi-transparent windows causing the windows to be invisible during the resize

Fixes #941
Workaround for  https://github.com/glfw/glfw/issues/1251
This commit is contained in:
Kovid Goyal
2018-09-12 10:44:24 +05:30
parent 8f7139d48f
commit 21d586cc86
4 changed files with 23 additions and 4 deletions

View File

@@ -189,6 +189,7 @@ void update_surface_size(int, int, uint32_t);
void free_texture(uint32_t*);
void send_image_to_gpu(uint32_t*, const void*, int32_t, int32_t, bool, bool);
void send_sprite_to_gpu(FONTS_DATA_HANDLE fg, unsigned int, unsigned int, unsigned int, pixel*);
void blank_os_window(OSWindow *);
void set_titlebar_color(OSWindow *w, color_type color);
FONTS_DATA_HANDLE load_fonts_data(double, double, double);
void send_prerendered_sprites_for_window(OSWindow *w);