From 8a0b2a59c9809d5fc8e6a30c2abc4d5af21aa39e 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/OpenGLTexture.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/Platform/OpenGL/OpenGLTexture.cpp') diff --git a/src/Platform/OpenGL/OpenGLTexture.cpp b/src/Platform/OpenGL/OpenGLTexture.cpp index 7e2dea0..72e40ee 100644 --- a/src/Platform/OpenGL/OpenGLTexture.cpp +++ b/src/Platform/OpenGL/OpenGLTexture.cpp @@ -7,9 +7,9 @@ namespace Donut : m_Width(width), m_Height(height) { m_InternalFormat = GL_RGBA8; - m_DataFormat = GL_RGBA; + m_DataFormat = GL_RGBA; - glCreateTextures(GL_TEXTURE_2D, 1, &m_RendererID); + glCreateTextures(GL_TEXTURE_2D, 1, &m_RendererID); glTextureStorage2D(m_RendererID, 1, m_InternalFormat, m_Width, m_Height); glTextureParameteri(m_RendererID, GL_TEXTURE_MIN_FILTER, GL_LINEAR); @@ -23,12 +23,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_InternalFormat = GL_RGBA8; - m_DataFormat = GL_RGBA; + m_DataFormat = GL_RGBA; - glCreateTextures(GL_TEXTURE_2D, 1, &m_RendererID); + glCreateTextures(GL_TEXTURE_2D, 1, &m_RendererID); glTextureStorage2D(m_RendererID, 1, m_InternalFormat, m_Width, m_Height); glTextureParameteri(m_RendererID, GL_TEXTURE_MIN_FILTER, GL_LINEAR); -- cgit v1.3