mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-12-03 09:24:04 +00:00
Remove depthTexture usage in RenderTexture
Fixes #59 Reported by @ianpan870102
This commit is contained in:
@@ -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
2
vendor/raylib
vendored
Submodule vendor/raylib updated: f3091185ca...032b2db398
Reference in New Issue
Block a user