diff options
| author | raysan5 <[email protected]> | 2020-09-17 13:44:03 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-09-17 13:44:03 +0200 |
| commit | fa2c1146366557e5ce779d8b5c2575579dfa6389 (patch) | |
| tree | ed89c2a6361ec2492b053759ff7bff03195bbc59 /src/raylib.h | |
| parent | 6da3c1e7c3808e06efd110903222c2be8971e589 (diff) | |
| download | raylib-fa2c1146366557e5ce779d8b5c2575579dfa6389.tar.gz raylib-fa2c1146366557e5ce779d8b5c2575579dfa6389.zip | |
WARNING: struct RenderTexture2D: Removed `depthTexture`
Not required anymore, attachment type is queried when required
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/raylib.h b/src/raylib.h index 5c2ae13c..73d75429 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -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 |
