diff options
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; |