Fix a few compiler warnings (#2063)
This commit is contained in:
parent
54e87c915f
commit
757a608b6e
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue