Update C sources

This commit is contained in:
Milan Nikolic 2024-05-07 21:54:39 +02:00
parent 2a66186c7d
commit 1868520849
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75
27 changed files with 4582 additions and 2234 deletions

View file

@ -587,9 +587,7 @@ func LoadTextureDepth(width, height int32, useRenderBuffer bool) {
// LoadFramebuffer - Load an empty framebuffer
func LoadFramebuffer(width int32, height int32) uint32 {
cwidth := C.int(width)
cheight := C.int(height)
return uint32(C.rlLoadFramebuffer(cwidth, cheight))
return uint32(C.rlLoadFramebuffer())
}
// FramebufferAttach - Attach texture/renderbuffer to a framebuffer