mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-27 04:11:05 +00:00
Avoid use of EXT_direct_state_access in demos
This commit is contained in:
@@ -268,8 +268,10 @@ RD_TEST(GL_Discard_Zoo, OpenGLGraphicsTest)
|
||||
glClearTexImage(texcubesub, 0, GL_RGBA, GL_FLOAT, &green.x);
|
||||
glClearTexImage(tex3dsub2, 0, GL_RGBA, GL_FLOAT, &green.x);
|
||||
|
||||
glNamedBufferSubDataEXT(buf, 0, 1024, empty);
|
||||
glNamedBufferSubDataEXT(subbuf, 0, 1024, empty);
|
||||
glBindBuffer(GL_ARRAY_BUFFER, buf);
|
||||
glBufferSubData(GL_ARRAY_BUFFER, 0, 1024, empty);
|
||||
glBindBuffer(GL_ARRAY_BUFFER, subbuf);
|
||||
glBufferSubData(GL_ARRAY_BUFFER, 0, 1024, empty);
|
||||
popMarker();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user