mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Fix SDL build.
This commit is contained in:
parent
21e6f4d823
commit
051cdc63b8
@ -6592,6 +6592,7 @@
|
||||
"$(inherited)",
|
||||
IGNORE_APPLE,
|
||||
);
|
||||
HEADER_SEARCH_PATHS = /Users/thomasharte/Library/Frameworks/SDL2.framework/Headers;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/Frameworks";
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.13;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
@ -6613,6 +6614,7 @@
|
||||
NDEBUG,
|
||||
IGNORE_APPLE,
|
||||
);
|
||||
HEADER_SEARCH_PATHS = /Users/thomasharte/Library/Frameworks/SDL2.framework/Headers;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/Frameworks";
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.13;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
|
@ -1050,7 +1050,7 @@ int main(int argc, char *argv[]) {
|
||||
} break;
|
||||
|
||||
case SDL_TEXTINPUT:
|
||||
keypresses.emplace_back(event.text.timestamp, event.text.text, false);
|
||||
keypresses.emplace_back(event.text.timestamp, event.text.text);
|
||||
break;
|
||||
|
||||
case SDL_KEYDOWN:
|
||||
@ -1136,7 +1136,7 @@ int main(int argc, char *argv[]) {
|
||||
event.key.keysym.scancode,
|
||||
event.key.keysym.sym,
|
||||
event.type == SDL_KEYDOWN,
|
||||
event.repeat);
|
||||
event.key.repeat);
|
||||
} break;
|
||||
|
||||
case SDL_MOUSEBUTTONDOWN:
|
||||
|
Loading…
x
Reference in New Issue
Block a user