Fix a few compiler warnings (#2063)

This commit is contained in:
CasualPokePlayer 2024-08-01 14:26:46 -07:00 committed by GitHub
parent 54e87c915f
commit 757a608b6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ public:
void Blit(const GPU& gpu) override; void Blit(const GPU& gpu) override;
void Stop(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; void ShaderCompileStep(int& current, int& count) override;
private: private:
ComputeRenderer(GLCompositor&& compositor); ComputeRenderer(GLCompositor&& compositor);

View File

@ -160,7 +160,7 @@ void SaveShaderCache()
Platform::FileSeek(file, 0, Platform::FileSeekOrigin::End); 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) for (u64 newShader : NewShaders)
{ {