Update for new libquinn
This commit is contained in:
parent
2d954b221a
commit
eda050ebfc
@ -134,7 +134,7 @@ void DG_Init() {
|
||||
window_handle = quinn_req_window(&wr, exit_callback);
|
||||
free(icon);
|
||||
|
||||
w = quinn_add_surface(window_handle, 0, 0, DOOMGENERIC_RESX, DOOMGENERIC_RESY, NULL, input_cb, uninput_cb);
|
||||
w = quinn_add_surface(window_handle, 0, 0, DOOMGENERIC_RESX, DOOMGENERIC_RESY, NULL, NULL, input_cb, uninput_cb);
|
||||
surface = quinn_surface_get_surface(w);
|
||||
convert_xpm(loading_xpm, &loading);
|
||||
quinn_fill_rect(window_handle, surface, DOOMGENERIC_RESX, DOOMGENERIC_RESY, 0, 0, DOOMGENERIC_RESX, DOOMGENERIC_RESY, 0xff000000);
|
||||
@ -186,4 +186,4 @@ int DG_GetKey(int *pressed, unsigned char *key) {
|
||||
|
||||
void DG_SetWindowTitle(const char *title) {
|
||||
quinn_set_win_caption(window_handle, title);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user