mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-14 15:28:14 +00:00
WARNING: struct RenderTexture2D: Removed depthTexture
Not required anymore, attachment type is queried when required
This commit is contained in:
@@ -247,9 +247,8 @@ typedef Texture2D TextureCubemap;
|
||||
// RenderTexture2D type, for texture rendering
|
||||
typedef struct RenderTexture2D {
|
||||
unsigned int id; // OpenGL Framebuffer Object (FBO) id
|
||||
Texture2D texture; // Color buffer attachment texture
|
||||
Texture2D depth; // Depth buffer attachment texture
|
||||
bool depthTexture; // Track if depth attachment is a texture or renderbuffer
|
||||
Texture texture; // Color buffer attachment texture
|
||||
Texture depth; // Depth buffer attachment texture
|
||||
} RenderTexture2D;
|
||||
|
||||
// RenderTexture type, same as RenderTexture2D
|
||||
|
Reference in New Issue
Block a user