diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-08-27 09:51:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-27 09:51:05 +0200 |
commit | 0ba84b3f23393fc562dbf2a41e7126bb9031ee10 (patch) | |
tree | 22f5356caa372a98bcb373e2b79998726a35c32b /drivers/gles2/rasterizer_storage_gles2.h | |
parent | 2131f101b68dc61db8b4d9f9e2128bd0c9a6ef8c (diff) | |
parent | 30e20b6278b0a80e04fdee60637a9acd7bb0139d (diff) |
Merge pull request #21467 from elasota/fix-3d-textures
Fix some 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; |