{mach,gpu}: rename GPU_BACKEND -> MACH_GPU_BACKEND

Per https://github.com/hexops/mach/issues/376#issuecomment-1170374460

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-08-12 14:54:03 -07:00
parent 7dd1818e70
commit 78675470ae
3 changed files with 7 additions and 7 deletions

View file

@ -95,7 +95,7 @@ pub const Platform = struct {
}, &response, util.requestAdapterCallback);
if (response.?.status != .success) {
std.debug.print("mach: failed to create GPU adapter: {?s}\n", .{response.?.message});
std.debug.print("-> maybe try GPU_BACKEND=opengl ?\n", .{});
std.debug.print("-> maybe try MACH_GPU_BACKEND=opengl ?\n", .{});
std.process.exit(1);
}