gpu-dawn: correctly build Surface API for X11
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
f2cde765c3
commit
8ce8429cb3
1 changed files with 1 additions and 0 deletions
|
|
@ -107,6 +107,7 @@ pub const Options = struct {
|
|||
if (zero_debug_symbols) try flags.append("-g0") else try flags.append("-g1");
|
||||
}
|
||||
if (is_cpp) try flags.append("-std=c++17");
|
||||
if (self.linux_window_manager != null and self.linux_window_manager.? == .X11) try flags.append("-DDAWN_USE_X11");
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue