mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
fix: get rid of redundant option check
This commit is contained in:
parent
cb144f3deb
commit
d6394de900
|
|
@ -78,8 +78,9 @@ static void RADLINK WarningCallback(void* user_callback_data, Iggy* player,
|
||||||
// IGGY_RESULT_Error_OutOfMemory = 1001,};
|
// IGGY_RESULT_Error_OutOfMemory = 1001,};
|
||||||
|
|
||||||
if (message != NULL) {
|
if (message != NULL) {
|
||||||
// Some Linux movie variants do not ship these optional hooks/controls.
|
// 4jcraft: Some Linux movie variants do not ship these optional
|
||||||
// We guard the call sites, so drop the residual Iggy warning noise.
|
// hooks/controls. We guard the call sites, so drop the residual Iggy
|
||||||
|
// warning noise.
|
||||||
if (strstr(message, "LabelGamertag") != NULL ||
|
if (strstr(message, "LabelGamertag") != NULL ||
|
||||||
strstr(message, "Method SetSafeZone was not a function") != NULL) {
|
strstr(message, "Method SetSafeZone was not a function") != NULL) {
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -37,10 +37,6 @@ if use_gles
|
||||||
global_cpp_defs += ['-DGLES']
|
global_cpp_defs += ['-DGLES']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('enable_vsync')
|
|
||||||
global_cpp_defs += ['-DENABLE_VSYNC']
|
|
||||||
endif
|
|
||||||
|
|
||||||
add_project_arguments(global_cpp_defs, language: ['cpp', 'c'])
|
add_project_arguments(global_cpp_defs, language: ['cpp', 'c'])
|
||||||
|
|
||||||
global_cpp_args = [
|
global_cpp_args = [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue