add FreeBSD support (#752)
Signed-off-by: Lucas Francesco <uramekus@cirno.dev>
This commit is contained in:
parent
fbc3526c58
commit
2210ca22a9
2 changed files with 2 additions and 2 deletions
|
|
@ -96,7 +96,7 @@
|
||||||
#define KEY_KPADD KEY_KPPLUS
|
#define KEY_KPADD KEY_KPPLUS
|
||||||
#define KEY_KPSUB KEY_KPMINUS
|
#define KEY_KPSUB KEY_KPMINUS
|
||||||
|
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__) || defined(__FreeBSD__)
|
||||||
#define KEY_ESCAPE 0x9
|
#define KEY_ESCAPE 0x9
|
||||||
#define KEY_F1 0x43
|
#define KEY_F1 0x43
|
||||||
#define KEY_F2 0x44
|
#define KEY_F2 0x44
|
||||||
|
|
|
||||||
|
|
@ -1164,7 +1164,7 @@ int main(const int argc, const char *argv[])
|
||||||
delete(vulkanExample);
|
delete(vulkanExample);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__) || defined(__FreeBSD__)
|
||||||
|
|
||||||
// Linux entry point
|
// Linux entry point
|
||||||
VulkanExample *vulkanExample;
|
VulkanExample *vulkanExample;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue