mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-07-18 13:45:17 +02:00
Suppress warnings left over from original project
This commit is contained in:
parent
2f3b3098c1
commit
0d6d69c47a
2 changed files with 4 additions and 1 deletions
|
@ -64,6 +64,9 @@ include_dirs = [include_directories('src', 'binding')]
|
|||
all_sources += files('cwalk/src/cwalk.c')
|
||||
include_dirs += include_directories('cwalk/include')
|
||||
|
||||
# Disable some warnings
|
||||
add_project_arguments(['-Wno-undefined-var-template', '-Wno-non-virtual-dtor', '-Wno-uninitialized'], language: 'cpp')
|
||||
|
||||
|
||||
linker_args = []
|
||||
|
||||
|
|
|
@ -380,7 +380,7 @@ int main(int argc, char *argv[])
|
|||
rtData.rgssErrorMsg.c_str(), win);
|
||||
}
|
||||
|
||||
SDL_GL_DeleteContext(rtData.glContext);
|
||||
if (rtData.glContext) SDL_GL_DeleteContext(rtData.glContext);
|
||||
|
||||
/* Clean up any remainin events */
|
||||
eventThread.cleanup();
|
||||
|
|
Loading…
Add table
Reference in a new issue