Update library

This commit is contained in:
Milan Nikolic 2021-05-25 14:37:36 +02:00
parent 59d7351c8d
commit 6630170a3b
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75
10 changed files with 42 additions and 273 deletions

View file

@ -1147,13 +1147,11 @@ type RenderTexture2D struct {
ID uint32
// Color buffer attachment texture
Texture Texture2D
// Depth buffer attachment texture
Depth Texture2D
}
// NewRenderTexture2D - Returns new RenderTexture2D
func NewRenderTexture2D(id uint32, texture, depth Texture2D) RenderTexture2D {
return RenderTexture2D{id, texture, depth}
func NewRenderTexture2D(id uint32, texture Texture2D) RenderTexture2D {
return RenderTexture2D{id, texture}
}
// newRenderTexture2DFromPointer - Returns new RenderTexture2D from pointer