From 757a608b6ee661fd1e2d3485e4a5c076c66c46e1 Mon Sep 17 00:00:00 2001 From: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu, 1 Aug 2024 14:26:46 -0700 Subject: [PATCH] Fix a few compiler warnings (#2063) --- src/GPU3D_Compute.h | 2 +- src/OpenGLSupport.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GPU3D_Compute.h b/src/GPU3D_Compute.h index f3f184de..751737b7 100644 --- a/src/GPU3D_Compute.h +++ b/src/GPU3D_Compute.h @@ -59,7 +59,7 @@ public: void Blit(const GPU& gpu) override; void Stop(const GPU& gpu) override; - bool NeedsShaderCompile() { return ShaderStepIdx != 33; } + bool NeedsShaderCompile() override { return ShaderStepIdx != 33; } void ShaderCompileStep(int& current, int& count) override; private: ComputeRenderer(GLCompositor&& compositor); diff --git a/src/OpenGLSupport.cpp b/src/OpenGLSupport.cpp index f728386f..2740e157 100644 --- a/src/OpenGLSupport.cpp +++ b/src/OpenGLSupport.cpp @@ -160,7 +160,7 @@ void SaveShaderCache() Platform::FileSeek(file, 0, Platform::FileSeekOrigin::End); - printf("new shaders %d\n", NewShaders.size()); + printf("new shaders %zu\n", NewShaders.size()); for (u64 newShader : NewShaders) {