gpu: convert *opaque -> opaque for ExternalTexture

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-29 22:35:55 -07:00 committed by Stephen Gutekanst
parent 862a555697
commit 8f8bbd25bc
2 changed files with 7 additions and 7 deletions

View file

@ -69,11 +69,11 @@ pub const Device = opaque {
return Impl.deviceCreateErrorBuffer(device);
}
pub inline fn createErrorExternalTexture(device: *Device) ExternalTexture {
pub inline fn createErrorExternalTexture(device: *Device) *ExternalTexture {
return Impl.deviceCreateErrorExternalTexture(device);
}
pub inline fn createExternalTexture(device: *Device, external_texture_descriptor: *const ExternalTextureDescriptor) ExternalTexture {
pub inline fn createExternalTexture(device: *Device, external_texture_descriptor: *const ExternalTextureDescriptor) *ExternalTexture {
return Impl.deviceCreateExternalTexture(device, external_texture_descriptor);
}