Remove depthTexture usage in RenderTexture

Fixes #59

Reported by @ianpan870102
This commit is contained in:
Rob Loach
2020-09-22 14:31:04 -04:00
parent ff7f4e226d
commit 68669ca382
2 changed files with 1 additions and 3 deletions

View File

@@ -28,13 +28,11 @@ namespace raylib {
id = renderTexture.id;
texture = renderTexture.texture;
depth = renderTexture.depth;
depthTexture = renderTexture.depthTexture;
}
GETTERSETTER(unsigned int,Id,id)
GETTERSETTER(Texture2D,Texture,texture)
GETTERSETTER(Texture2D,Depth,depth)
GETTERSETTER(bool,DepthTexture,depthTexture)
RenderTexture2D& operator=(const ::RenderTexture2D& texture) {
set(texture);

2
vendor/raylib vendored