fix: get rid of redundant option check

This commit is contained in:
Tropical 2026-03-28 12:09:20 -05:00
parent cb144f3deb
commit d6394de900
2 changed files with 3 additions and 6 deletions

View file

@ -78,8 +78,9 @@ static void RADLINK WarningCallback(void* user_callback_data, Iggy* player,
// IGGY_RESULT_Error_OutOfMemory = 1001,};
if (message != NULL) {
// Some Linux movie variants do not ship these optional hooks/controls.
// We guard the call sites, so drop the residual Iggy warning noise.
// 4jcraft: Some Linux movie variants do not ship these optional
// hooks/controls. We guard the call sites, so drop the residual Iggy
// warning noise.
if (strstr(message, "LabelGamertag") != NULL ||
strstr(message, "Method SetSafeZone was not a function") != NULL) {
return;

View file

@ -37,10 +37,6 @@ if use_gles
global_cpp_defs += ['-DGLES']
endif
if get_option('enable_vsync')
global_cpp_defs += ['-DENABLE_VSYNC']
endif
add_project_arguments(global_cpp_defs, language: ['cpp', 'c'])
global_cpp_args = [