diff options
| author | hachem <im@hachem.wtf> | 2025-08-13 18:39:13 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-13 18:39:13 +0200 |
| commit | 23086a5d33acc66414f1169bf22abe78b3383f94 (patch) | |
| tree | a895c3e3ab8074118a84aada97ea990b60fba556 /src/platform/opengl/opengl_texture.h | |
| parent | 2d8f706efe6e0a02b3238c2f22e7cdce620e9807 (diff) | |
fix: more consistent formatting
Diffstat (limited to 'src/platform/opengl/opengl_texture.h')
| -rw-r--r-- | src/platform/opengl/opengl_texture.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/platform/opengl/opengl_texture.h b/src/platform/opengl/opengl_texture.h index ddd4f39..41b352a 100644 --- a/src/platform/opengl/opengl_texture.h +++ b/src/platform/opengl/opengl_texture.h @@ -13,12 +13,12 @@ namespace Donut OpenGLTexture2D(const std::string& path); virtual ~OpenGLTexture2D(); - virtual uint32_t get_width() const override { return m_width; } - virtual uint32_t get_height() const override { return m_height; } + virtual uint32_t get_width() const override { return m_width; } + virtual uint32_t get_height() const override { return m_height; } virtual uint32_t get_renderer_id() const override { return m_renderer_id; } - virtual void set_data(void* data, uint32_t size) override; - virtual void bind(uint32_t slot = 0) const override; + virtual void set_data(void* data, uint32_t size) override; + virtual void bind(uint32_t slot = 0) const override; virtual void bind_as_image(uint32_t slot = 0, bool read_only = false) const override; virtual bool operator==(const Texture& other) const override @@ -28,8 +28,8 @@ namespace Donut private: std::string m_path; - uint32_t m_width, m_height; - uint32_t m_renderer_id; - GLenum m_internal_format, m_data_format; + uint32_t m_width, m_height; + uint32_t m_renderer_id; + GLenum m_internal_format, m_data_format; }; } |
