fix: update purego signature to match
This commit is contained in:
parent
9553e2fd26
commit
48241c48d2
1 changed files with 2 additions and 2 deletions
|
@ -2637,9 +2637,9 @@ func LoadTextureFromImage(image *Image) Texture2D {
|
||||||
}
|
}
|
||||||
|
|
||||||
// LoadTextureCubemap - Load cubemap from image, multiple image cubemap layouts supported
|
// LoadTextureCubemap - Load cubemap from image, multiple image cubemap layouts supported
|
||||||
func LoadTextureCubemap(image Image, layout int32) Texture2D {
|
func LoadTextureCubemap(image *Image, layout int32) Texture2D {
|
||||||
var texture Texture2D
|
var texture Texture2D
|
||||||
loadTextureCubemap(uintptr(unsafe.Pointer(&texture)), uintptr(unsafe.Pointer(&image)), layout)
|
loadTextureCubemap(uintptr(unsafe.Pointer(&texture)), uintptr(unsafe.Pointer(image)), layout)
|
||||||
return texture
|
return texture
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue