We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 674bb71 commit 121f8e9Copy full SHA for 121f8e9
cocos/renderer/backend/opengl/CommandBufferGL.h
@@ -196,7 +196,7 @@ class CommandBufferGL final : public CommandBuffer
196
197
GLint _defaultFBO = 0; // The value gets from glGetIntegerv, so need to use GLint
198
GLuint _currentFBO = 0;
199
- BufferGL* _vertexBuffer;
+ BufferGL* _vertexBuffer = nullptr;
200
ProgramState* _programState = nullptr;
201
BufferGL* _indexBuffer = nullptr;
202
RenderPipelineGL* _renderPipeline = nullptr;
0 commit comments