gpu-dawn: correctly build Surface API for X11

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-02-27 05:55:52 +00:00 committed by Stephen Gutekanst
parent f2cde765c3
commit 8ce8429cb3

View file

@ -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");
}
};