diff options
author | Sam Spilsbury <smspillaz@gmail.com> | 2016-04-24 23:41:44 +0800 |
---|---|---|
committer | Sam Spilsbury <smspillaz@gmail.com> | 2016-04-25 00:40:03 +0800 |
commit | 656a4424332824c144ef5b91482ee2a8d89fc0fb (patch) | |
tree | 575264137844f57c51905e747c4ebc47e1f8307a /src/video_core | |
parent | c6709d97bce27f248b78374a531a3ee01275c65d (diff) |
shader: Shader size is long uint, not uint.
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/shader/shader_jit_x64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cpp index 9ee4065bf..b7747fa42 100644 --- a/src/video_core/shader/shader_jit_x64.cpp +++ b/src/video_core/shader/shader_jit_x64.cpp @@ -856,7 +856,7 @@ void JitShader::Compile() { uintptr_t size = reinterpret_cast<uintptr_t>(GetCodePtr()) - reinterpret_cast<uintptr_t>(program); ASSERT_MSG(size <= MAX_SHADER_SIZE, "Compiled a shader that exceeds the allocated size!"); - LOG_DEBUG(HW_GPU, "Compiled shader size=%d", size); + LOG_DEBUG(HW_GPU, "Compiled shader size=%lu", size); } JitShader::JitShader() { |