move to opengl on windows

This commit is contained in:
veclavtalica 2024-06-26 15:37:05 +03:00
parent b6fde1ff58
commit 105ea0f447
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -210,8 +210,8 @@ sapp_desc sokol_main(int argc, char *argv[]) {
.cleanup_cb = cleanup, .cleanup_cb = cleanup,
.event_cb = event, .event_cb = event,
.logger.func = slog_func, .logger.func = slog_func,
.gl_major_version = 2, // .gl_major_version = 2,
.gl_minor_version = 0, // .gl_minor_version = 0,
// .swap_interval = 0, // .swap_interval = 0,
.window_title = "stfu-maker", .window_title = "stfu-maker",
}; };