Linux compile fixes.

This commit is contained in:
baldurk
2014-12-12 00:15:45 +00:00
parent 15e7764b89
commit c207391b54
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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);
+1 -1
View File
@@ -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)
{