diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-12-20 21:07:05 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-12-20 21:07:05 +0100 |
commit | d094f73584ec6fe14e044b6eb9bf726d680a3123 (patch) | |
tree | 7d5a02062aa8203c8836696bf0727e12262ca464 | |
parent | 108a34e2c0dae860b7ee75c9a489d98a4acd5b57 (diff) |
Fix window texture deinit
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 8e74185..88be01b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -495,6 +495,8 @@ CMainApplication::CMainApplication( int argc, char *argv[] ) bool cursor_scale_set = false; bool cursor_wrap_set = false; + memset(&window_texture, 0, sizeof(window_texture)); + for(int i = 1; i < argc; ++i) { if(strcmp(argv[i], "--sphere") == 0) { if(projection_arg) { |