mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
fix(gx): simplified gx device creation according to api enum
This commit is contained in:
parent
45f23fb3ba
commit
1b4f1dba86
3 changed files with 34 additions and 31 deletions
|
|
@ -122,7 +122,7 @@ pub fn build(b: *std.Build) void {
|
|||
|
||||
// GLSDL
|
||||
const build_glsdl_option = b.option(bool, "WHOA_BUILD_GLSDL", "Enable");
|
||||
switch (target.result.os) {
|
||||
switch (t.os.tag) {
|
||||
.windows => {
|
||||
// SDL is off by default
|
||||
build_glsdl = build_glsdl_option orelse false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue