summaryrefslogtreecommitdiff
path: root/drivers/gles3/rasterizer_storage_gles3.h
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2018-12-29 23:16:04 +1100
committerBastiaan Olij <mux213@gmail.com>2018-12-29 23:44:28 +1100
commit9055386de9961c5fe9872389835157fa224ee45f (patch)
treefcd7bff47284bd4327a15223cebf09b4f9effbbe /drivers/gles3/rasterizer_storage_gles3.h
parentee6f1fa3f8a7aa48ed9becb0039f39e1c7f395cc (diff)
Fix texture type not being initialised
Diffstat (limited to 'drivers/gles3/rasterizer_storage_gles3.h')
-rw-r--r--drivers/gles3/rasterizer_storage_gles3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gles3/rasterizer_storage_gles3.h b/drivers/gles3/rasterizer_storage_gles3.h
index 958086f6c7..bd234d7fbe 100644
--- a/drivers/gles3/rasterizer_storage_gles3.h
+++ b/drivers/gles3/rasterizer_storage_gles3.h
@@ -291,6 +291,7 @@ public:
width(0),
height(0),
format(Image::FORMAT_L8),
+ type(VS::TEXTURE_TYPE_2D),
target(GL_TEXTURE_2D),
data_size(0),
compressed(false),