gpu: internalize Instance types

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-29 22:12:58 -07:00 committed by Stephen Gutekanst
parent 223f10446a
commit b6eb989dfa
3 changed files with 6 additions and 6 deletions

View file

@ -1221,7 +1221,7 @@ pub fn Export(comptime T: type) type {
/// A stub gpu.Interface in which every function is implemented by `unreachable;`
pub const StubInterface = Interface(struct {
pub inline fn createInstance(descriptor: ?*const Instance.Descriptor) ?Instance {
pub inline fn createInstance(descriptor: ?*const Instance.Descriptor) ?*Instance {
_ = descriptor;
unreachable;
}