mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-28 04:41:07 +00:00
Wrong GL function being called and serialized for glGenQueries.
This commit is contained in:
@@ -159,7 +159,7 @@ bool WrappedOpenGL::Serialise_glGenQueries(GLsizei n, GLuint* ids)
|
||||
if(m_State == READING)
|
||||
{
|
||||
GLuint real = 0;
|
||||
m_Real.glGenSamplers(1, &real);
|
||||
m_Real.glGenQueries(1, &real);
|
||||
|
||||
GLResource res = QueryRes(GetCtx(), real);
|
||||
|
||||
@@ -172,7 +172,7 @@ bool WrappedOpenGL::Serialise_glGenQueries(GLsizei n, GLuint* ids)
|
||||
|
||||
void WrappedOpenGL::glGenQueries(GLsizei count, GLuint *ids)
|
||||
{
|
||||
m_Real.glGenSamplers(count, ids);
|
||||
m_Real.glGenQueries(count, ids);
|
||||
|
||||
for(GLsizei i=0; i < count; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user