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) {