Skip to content

Commit

Permalink
Fix a few compiler warnings (#2063)
Browse files Browse the repository at this point in the history
  • Loading branch information
CasualPokePlayer authored Aug 1, 2024
1 parent 54e87c9 commit 757a608
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GPU3D_Compute.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class ComputeRenderer : public Renderer3D
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);
Expand Down
2 changes: 1 addition & 1 deletion src/OpenGLSupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 757a608

Please sign in to comment.