diff options
-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) { |