mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-20 12:47:11 +00:00
Compile fix for OS X - don't try to print a size_t in assert macro
This commit is contained in:
1 parent
914bb63ffa
commit
9c1d8ae798
1 file changed
+1
-1
@@ -1174,7 +1174,7 @@ void APIENTRY _glClearBufferSubData(GLenum target, GLenum internalformat, GLintp
|
||||
|
||||
size_t stride = compCount * compByteWidth;
|
||||
|
||||
RDCASSERT(size % stride == 0, size, stride);
|
||||
RDCASSERT(size % stride == 0, uint64_t(size), uint64_t(stride));
|
||||
|
||||
// copy without conversion
|
||||
for(GLsizeiptr i = 0; i < size; i += stride)
|
||||
|
||||
Reference in new issue
Block a user