From 96cc9ba213cb5d9a81386952d1d45e1fde8188fc Mon Sep 17 00:00:00 2001 From: Tim Caselitz Date: Fri, 4 Oct 2019 15:57:00 +0200 Subject: [PATCH] Fix indent in GlFormatChannels --- include/pangolin/gl/gl.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/pangolin/gl/gl.hpp b/include/pangolin/gl/gl.hpp index d472d8468..59571c794 100644 --- a/include/pangolin/gl/gl.hpp +++ b/include/pangolin/gl/gl.hpp @@ -92,9 +92,9 @@ inline size_t GlDataTypeBytes(GLenum type) inline size_t GlFormatChannels(GLenum data_layout) { - if (data_layout == GL_BGR) return 3; - if (data_layout == GL_BGRA) return 4; - return format_channels[data_layout - GL_RED]; + if (data_layout == GL_BGR) return 3; + if (data_layout == GL_BGRA) return 4; + return format_channels[data_layout - GL_RED]; } //template