First working implemention
Cleanup also debug messages
This commit is contained in:
+1
-4
@@ -125,9 +125,6 @@ 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);
|
||||
|
||||
@@ -203,7 +200,7 @@ init_lua:
|
||||
}
|
||||
|
||||
lua_close(L);
|
||||
SDL_DestroyWindow(window);
|
||||
ren_free_window_resources();
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user