mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 06:56:40 +00:00
Don't try and read values from NULL, use implicit 0s. Refs #347
This commit is contained in:
@@ -3302,7 +3302,7 @@ bool WrappedOpenGL::Serialise_glClearNamedBufferDataEXT(GLuint buffer, GLenum in
|
||||
|
||||
uint64_t val[4] = {0};
|
||||
|
||||
if(m_State >= WRITING)
|
||||
if(m_State >= WRITING && data != NULL)
|
||||
{
|
||||
size_t s = 1;
|
||||
switch(Format)
|
||||
|
||||
Reference in New Issue
Block a user