From 959b9ce35b898377586ed828b978bf5169643f5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 5 Jul 2016 14:22:31 -0700 Subject: [PATCH] Fixed compiler warning. --- src/renderer_mtl.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer_mtl.mm b/src/renderer_mtl.mm index ce9f981b1..360fefb97 100644 --- a/src/renderer_mtl.mm +++ b/src/renderer_mtl.mm @@ -3270,7 +3270,7 @@ namespace bgfx { namespace mtl rce.setCullMode(MTLCullModeNone); - uint32_t state = BGFX_STATE_DEFAULT; + uint64_t state = BGFX_STATE_DEFAULT; FrameBufferHandle invalidFbh = BGFX_INVALID_HANDLE; VertexDeclHandle invalidVdh = BGFX_INVALID_HANDLE; RenderPipelineState pipelineState = m_screenshotBlitProgram.getRenderPipelineState(state, 0, invalidFbh, invalidVdh, 0);