From 23086a5d33acc66414f1169bf22abe78b3383f94 Mon Sep 17 00:00:00 2001 From: hachem Date: Wed, 13 Aug 2025 18:39:13 +0200 Subject: fix: more consistent formatting --- src/platform/opengl/opengl_texture.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/platform/opengl/opengl_texture.cpp') diff --git a/src/platform/opengl/opengl_texture.cpp b/src/platform/opengl/opengl_texture.cpp index 100909f..53ed06c 100644 --- a/src/platform/opengl/opengl_texture.cpp +++ b/src/platform/opengl/opengl_texture.cpp @@ -7,9 +7,9 @@ namespace Donut : m_width(width), m_height(height) { m_internal_format = GL_RGBA8; - m_data_format = GL_RGBA; + m_data_format = GL_RGBA; - glCreateTextures(GL_TEXTURE_2D, 1, &m_renderer_id); + glCreateTextures(GL_TEXTURE_2D, 1, &m_renderer_id); glTextureStorage2D(m_renderer_id, 1, m_internal_format, m_width, m_height); glTextureParameteri(m_renderer_id, GL_TEXTURE_MIN_FILTER, GL_LINEAR); @@ -22,12 +22,12 @@ namespace Donut OpenGLTexture2D::OpenGLTexture2D(const std::string& path) : m_path(path) { - m_width = 1; - m_height = 1; + m_width = 1; + m_height = 1; m_internal_format = GL_RGBA8; - m_data_format = GL_RGBA; + m_data_format = GL_RGBA; - glCreateTextures(GL_TEXTURE_2D, 1, &m_renderer_id); + glCreateTextures(GL_TEXTURE_2D, 1, &m_renderer_id); glTextureStorage2D(m_renderer_id, 1, m_internal_format, m_width, m_height); glTextureParameteri(m_renderer_id, GL_TEXTURE_MIN_FILTER, GL_LINEAR); -- cgit v1.3