Compare commits
No commits in common. "34ff24b02435464a87e4adb2511b82d8c3af55b1" and "0800056a7634cafb05eb7eec3b8d7fcec755e15c" have entirely different histories.
34ff24b024
...
0800056a76
3 changed files with 7 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,4 +5,3 @@ gear
|
||||||
compile_commands.json
|
compile_commands.json
|
||||||
**/*.o
|
**/*.o
|
||||||
**/*.glsl.h
|
**/*.glsl.h
|
||||||
.vscode/
|
|
|
@ -77,7 +77,13 @@ sapp_desc sokol_main(int argc, char* argv[]) {
|
||||||
.cleanup_cb = cleanup,
|
.cleanup_cb = cleanup,
|
||||||
.width = 640,
|
.width = 640,
|
||||||
.height = 480,
|
.height = 480,
|
||||||
.window_title = "Gear",
|
#ifdef SOKOL_GLCORE
|
||||||
|
.window_title = "Gear (GLCORE)",
|
||||||
|
#elif SOKOL_D3D11
|
||||||
|
.window_title = "Gear (D3D11)",
|
||||||
|
#elif SOKOL_METAL
|
||||||
|
.window_title = "Gear (Metal)",
|
||||||
|
#endif
|
||||||
.icon.sokol_default = true,
|
.icon.sokol_default = true,
|
||||||
.logger.func = slog_func,
|
.logger.func = slog_func,
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#ifndef SOKOL_METAL
|
|
||||||
#define SOKOL_IMPL
|
#define SOKOL_IMPL
|
||||||
#include <sokol/sokol_app.h>
|
#include <sokol/sokol_app.h>
|
||||||
#include <sokol/sokol_audio.h>
|
#include <sokol/sokol_audio.h>
|
||||||
|
@ -7,4 +6,3 @@
|
||||||
#include <sokol/sokol_glue.h>
|
#include <sokol/sokol_glue.h>
|
||||||
#include <sokol/sokol_log.h>
|
#include <sokol/sokol_log.h>
|
||||||
#include <sokol/sokol_time.h>
|
#include <sokol/sokol_time.h>
|
||||||
#endif
|
|
Loading…
Add table
Reference in a new issue