diff options
| author | hachem <im@hachem.wtf> | 2026-08-18 15:00:34 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-18 15:00:34 +0200 |
| commit | aabbeac3d9e2ac0f293ab43fec71e56091c823e8 (patch) | |
| tree | 4d986035f451e8511024076b2c94362dbf549712 /src/platform/opengl/opengl_shader.h | |
| parent | ecb6705c7fc4fb085184712567d0e936ea5d0d1f (diff) | |
fix: macOS compatibility
Diffstat (limited to 'src/platform/opengl/opengl_shader.h')
| -rw-r--r-- | src/platform/opengl/opengl_shader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/opengl/opengl_shader.h b/src/platform/opengl/opengl_shader.h index 71e20a5..29c23a4 100644 --- a/src/platform/opengl/opengl_shader.h +++ b/src/platform/opengl/opengl_shader.h @@ -48,7 +48,7 @@ namespace Donut std::unordered_map<uint32_t, std::string> pre_process(const std::string& source); void compile(const std::unordered_map<uint32_t, std::string>& shader_sources); private: - uint32_t m_renderer_id; + uint32_t m_renderer_id = 0; std::string m_name; }; }; |
