diff options
| author | elasota <ejlasota@gmail.com> | 2018-08-26 20:22:56 -0400 |
|---|---|---|
| committer | elasota <ejlasota@gmail.com> | 2018-08-26 20:22:56 -0400 |
| commit | 30e20b6278b0a80e04fdee60637a9acd7bb0139d (patch) | |
| tree | c5670ba7205d357bcc783ebe032385575296611a /drivers/gles2/rasterizer_storage_gles2.h | |
| parent | f72f74486d3f07b2be0c6480c6c0d34edd47794f (diff) | |
| download | redot-engine-30e20b6278b0a80e04fdee60637a9acd7bb0139d.tar.gz | |
Partial fixes for 3D texture issues
Diffstat (limited to 'drivers/gles2/rasterizer_storage_gles2.h')
| -rw-r--r-- | drivers/gles2/rasterizer_storage_gles2.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gles2/rasterizer_storage_gles2.h b/drivers/gles2/rasterizer_storage_gles2.h index 88783d7160..c3066b754d 100644 --- a/drivers/gles2/rasterizer_storage_gles2.h +++ b/drivers/gles2/rasterizer_storage_gles2.h @@ -232,7 +232,7 @@ public: String path; uint32_t flags; int width, height, depth; - int alloc_width, alloc_height; + int alloc_width, alloc_height, alloc_depth; Image::Format format; VS::TextureType type; @@ -275,8 +275,10 @@ public: flags = 0; width = 0; height = 0; + depth = 0; alloc_width = 0; alloc_height = 0; + alloc_depth = 0; format = Image::FORMAT_L8; target = 0; |
