From 3f686d871909decc04e76a989909c068f485c771 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 12 Mar 2018 15:29:56 +0000 Subject: [PATCH] Fixed indentation --- src/osg/Image.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/osg/Image.cpp b/src/osg/Image.cpp index ccbf68366..98d67d3b2 100644 --- a/src/osg/Image.cpp +++ b/src/osg/Image.cpp @@ -805,14 +805,15 @@ unsigned int Image::computePixelSizeInBits(GLenum format,GLenum type) } -osg::Vec3i Image::computeBlockFootprint(GLenum pixelFormat) { +osg::Vec3i Image::computeBlockFootprint(GLenum pixelFormat) +{ switch (pixelFormat) { case(GL_COMPRESSED_RGB_S3TC_DXT1_EXT) : case(GL_COMPRESSED_RGBA_S3TC_DXT1_EXT) : case(GL_COMPRESSED_RGBA_S3TC_DXT3_EXT) : case(GL_COMPRESSED_RGBA_S3TC_DXT5_EXT) : - return osg::Vec3i(4,4,4);//opengl 3d dxt: r value means (max)4 consecutive blocks in r direction packed into a slab. + return osg::Vec3i(4,4,4);//opengl 3d dxt: r value means (max)4 consecutive blocks in r direction packed into a slab. case(GL_COMPRESSED_SIGNED_RED_RGTC1_EXT) : case(GL_COMPRESSED_RED_RGTC1_EXT) :