Added potential fixes for KDE

This commit is contained in:
Jarcode
2018-09-08 14:05:40 -07:00
parent 31ebab0549
commit fb1d85dbf9
8 changed files with 95 additions and 21 deletions

View File

@@ -32,6 +32,7 @@ struct gl_wcb {
int version_major, int version_minor);
bool (*should_close) (void* ptr);
void (*swap_buffers) (void* ptr);
void (*raise) (void* ptr);
void (*get_pos) (void* ptr, int* x, int* y);
void (*get_fbsize) (void* ptr, int* w, int* h);
void (*set_geometry) (void* ptr, int x, int y, int w, int h);
@@ -63,6 +64,7 @@ struct gl_wcb {
WCB_FUNC(create_and_bind), \
WCB_FUNC(should_close), \
WCB_FUNC(swap_buffers), \
WCB_FUNC(raise), \
WCB_FUNC(set_swap), \
WCB_FUNC(get_pos), \
WCB_FUNC(get_fbsize), \