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 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);
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue