aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/OpenGL/OpenGLShader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Platform/OpenGL/OpenGLShader.h')
-rw-r--r--src/Platform/OpenGL/OpenGLShader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Platform/OpenGL/OpenGLShader.h b/src/Platform/OpenGL/OpenGLShader.h
index 99a150b..72d1d6e 100644
--- a/src/Platform/OpenGL/OpenGLShader.h
+++ b/src/Platform/OpenGL/OpenGLShader.h
@@ -48,7 +48,7 @@ namespace Donut
std::unordered_map<uint32_t, std::string> PreProcess(const std::string& source);
void Compile(const std::unordered_map<uint32_t, std::string>& shaderSources);
private:
- uint32_t m_RendererID;
+ uint32_t m_RendererID = 0;
std::string m_Name;
};
};