WIP: testing usage of SDL renderer

It does segfault.
This commit is contained in:
Francesco Abbate
2021-04-23 11:58:53 +02:00
parent 9d9c7f291c
commit 685b8c82d0
3 changed files with 164 additions and 5 deletions
+3
View File
@@ -125,6 +125,9 @@ int main(int argc, char **argv) {
window = SDL_CreateWindow(
"", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, dm.w * 0.8, dm.h * 0.8,
SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI | SDL_WINDOW_HIDDEN);
fprintf(stderr, "New window: %p\n", window); fflush(stderr);
init_window_icon();
ren_init(window);