Skip to content

Commit

Permalink
Add return value in rlgl_purego.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sugarvoid committed Dec 28, 2024
1 parent 8e035f7 commit ff0ecd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions raylib/rlgl_purego.go
Original file line number Diff line number Diff line change
Expand Up @@ -764,8 +764,8 @@ func SetVertexAttributeDivisor(index uint32, divisor int32) {
}

// LoadTextureDepth - Load depth texture/renderbuffer (to be attached to fbo)
func LoadTextureDepth(width, height int32, useRenderBuffer bool) {
rlLoadTextureDepth(width, height, useRenderBuffer)
func LoadTextureDepth(width, height int32, useRenderBuffer bool) uint32{
return rlLoadTextureDepth(width, height, useRenderBuffer)
}

// LoadFramebuffer - Load an empty framebuffer
Expand Down

0 comments on commit ff0ecd0

Please sign in to comment.