mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-12 07:11:51 +00:00
Linux compile fixes
This commit is contained in:
1 parent
61b82bbbb8
commit
9a55bb796d
2 files changed
+3
-3
No files matched your search
@@ -590,7 +590,7 @@ void GLReplay::GetMapping(WrappedOpenGL &gl, GLuint curProg, int shadIdx, Shader
|
||||
GLint dummyReadback[32];
|
||||
|
||||
#if !defined(RELEASE)
|
||||
for(int i=1; i < ARRAY_COUNT(dummyReadback); i++)
|
||||
for(size_t i=1; i < ARRAY_COUNT(dummyReadback); i++)
|
||||
dummyReadback[i] = 0x6c7b8a9d;
|
||||
#endif
|
||||
|
||||
@@ -671,7 +671,7 @@ void GLReplay::GetMapping(WrappedOpenGL &gl, GLuint curProg, int shadIdx, Shader
|
||||
}
|
||||
|
||||
#if !defined(RELEASE)
|
||||
for(int i=1; i < ARRAY_COUNT(dummyReadback); i++)
|
||||
for(size_t i=1; i < ARRAY_COUNT(dummyReadback); i++)
|
||||
if(dummyReadback[i] != 0x6c7b8a9d)
|
||||
RDCERR("Invalid uniform readback - data beyond first element modified!");
|
||||
#endif
|
||||
|
||||
@@ -51,7 +51,7 @@ void GLReplay::MakeCurrentReplayContext(GLWindowingData *ctx)
|
||||
{
|
||||
prev = ctx;
|
||||
glXMakeContextCurrentProc(ctx->dpy, ctx->wnd, ctx->wnd, ctx->ctx);
|
||||
m_pDriver->ActivateContext(ctx->wnd, ctx->ctx);
|
||||
m_pDriver->ActivateContext((void *)ctx->wnd, ctx->ctx);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user