mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 07:26:34 +00:00
Linux compile fixes.
This commit is contained in:
@@ -2381,13 +2381,13 @@ void WrappedOpenGL::ProcessChunk(uint64_t offset, GLChunkType context)
|
||||
Serialise_glBindVertexArray(0);
|
||||
break;
|
||||
case VERTEXATTRIBPOINTER:
|
||||
Serialise_glVertexArrayVertexAttribOffsetEXT(0, 0, 0, 0, eGL_NONE, 0, 0, NULL);
|
||||
Serialise_glVertexArrayVertexAttribOffsetEXT(0, 0, 0, 0, eGL_NONE, 0, 0, 0);
|
||||
break;
|
||||
case VERTEXATTRIBIPOINTER:
|
||||
Serialise_glVertexArrayVertexAttribIOffsetEXT(0, 0, 0, 0, eGL_NONE, 0, NULL);
|
||||
Serialise_glVertexArrayVertexAttribIOffsetEXT(0, 0, 0, 0, eGL_NONE, 0, 0);
|
||||
break;
|
||||
case VERTEXATTRIBLPOINTER:
|
||||
Serialise_glVertexArrayVertexAttribLOffsetEXT(0, 0, 0, 0, eGL_NONE, 0, NULL);
|
||||
Serialise_glVertexArrayVertexAttribLOffsetEXT(0, 0, 0, 0, eGL_NONE, 0, 0);
|
||||
break;
|
||||
case ENABLEVERTEXATTRIBARRAY:
|
||||
Serialise_glEnableVertexArrayAttribEXT(0, 0);
|
||||
|
||||
@@ -321,7 +321,7 @@ class OpenGLHook : LibraryHook
|
||||
// don't need to care about the fb config as we won't be using the default framebuffer (backbuffer)
|
||||
int visAttribs[] = { 0 };
|
||||
int numCfgs = 0;
|
||||
GLXFBConfig *fbcfg = glXChooseFBConfigProc(dpy, DefaultScreen(dpy), visAttribs, &numCfgs);
|
||||
GLXFBConfig *fbcfg = glXChooseFBConfigProc(share.dpy, DefaultScreen(share.dpy), visAttribs, &numCfgs);
|
||||
|
||||
if(fbcfg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user