summaryrefslogtreecommitdiffstats
path: root/tools/platform/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/platform/gui.cpp')
-rw-r--r--tools/platform/gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/platform/gui.cpp b/tools/platform/gui.cpp
index 1573a848b..53d0a43ba 100644
--- a/tools/platform/gui.cpp
+++ b/tools/platform/gui.cpp
@@ -310,10 +310,10 @@ void GUI::endFrame(ITransientResourceHeap* transientHeap, IFramebuffer* framebuf
{
ScissorRect rect =
{
- (Int)(command->ClipRect.x - pos.x),
- (Int)(command->ClipRect.y - pos.y),
- (Int)(command->ClipRect.z - pos.x),
- (Int)(command->ClipRect.w - pos.y)
+ (int32_t)(command->ClipRect.x - pos.x),
+ (int32_t)(command->ClipRect.y - pos.y),
+ (int32_t)(command->ClipRect.z - pos.x),
+ (int32_t)(command->ClipRect.w - pos.y)
};
renderEncoder->setScissorRects(1, &rect);