summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhigles2_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/rhi/qrhigles2_p_p.h')
-rw-r--r--src/gui/rhi/qrhigles2_p_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/rhi/qrhigles2_p_p.h b/src/gui/rhi/qrhigles2_p_p.h
index bee9b3249e..c004b7f171 100644
--- a/src/gui/rhi/qrhigles2_p_p.h
+++ b/src/gui/rhi/qrhigles2_p_p.h
@@ -68,7 +68,7 @@ struct QGles2Buffer : public QRhiBuffer
GLuint buffer = 0;
GLenum targetForDataOps;
- QByteArray ubuf;
+ char *ubuf = nullptr;
enum Access {
AccessNone,
AccessVertex,