Fix compile error on linux

This commit is contained in:
baldurk committed 2016-07-22 15:51:14 +02:00
1 parent bf2b62ac9a
commit c1070053db
1 file changed
+1 -1
+1 -1
View File
@@ -181,7 +181,7 @@ void GLReplay::DestroyOutputWindow(uint64_t id)
MakeCurrentReplayContext(&outw);
WrappedOpenGL &gl = *m_pDriver;
gl.glDeleteFramebuffers(outw.BlitData.readFBO);
gl.glDeleteFramebuffers(1, &outw.BlitData.readFBO);
glXMakeContextCurrentProc(outw.dpy, None, None, NULL);
glXDestroyCtxProc(outw.dpy, outw.ctx);