move to opengl on windows
This commit is contained in:
parent
b6fde1ff58
commit
105ea0f447
@ -1 +1 @@
|
||||
clang ../main.c -lkernel32 -luser32 -lshell32 -ld3d11 -ldxgi -lgdi32 -lole32 -DSOKOL_D3D11 -o stfu-maker.exe -O3
|
||||
clang ../main.c -lkernel32 -luser32 -lshell32 -lopengl32 -lgdi32 -lole32 -DSOKOL_GLCORE -o stfu-maker.exe -O3
|
||||
|
@ -210,8 +210,8 @@ sapp_desc sokol_main(int argc, char *argv[]) {
|
||||
.cleanup_cb = cleanup,
|
||||
.event_cb = event,
|
||||
.logger.func = slog_func,
|
||||
.gl_major_version = 2,
|
||||
.gl_minor_version = 0,
|
||||
// .gl_major_version = 2,
|
||||
// .gl_minor_version = 0,
|
||||
// .swap_interval = 0,
|
||||
.window_title = "stfu-maker",
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user