From 5536f5f6546cc57187943e7406cad65ec7a516ed Mon Sep 17 00:00:00 2001 From: gered Date: Fri, 23 Aug 2013 18:04:56 -0400 Subject: [PATCH] code formatting --- Blarg.GameFramework/Graphics/Texture.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Blarg.GameFramework/Graphics/Texture.cs b/Blarg.GameFramework/Graphics/Texture.cs index 2c77a29..f9cfdd4 100644 --- a/Blarg.GameFramework/Graphics/Texture.cs +++ b/Blarg.GameFramework/Graphics/Texture.cs @@ -206,21 +206,21 @@ namespace Blarg.GameFramework.Graphics type = GL20.GL_UNSIGNED_BYTE; break; - case TextureFormat.RGB: + case TextureFormat.RGB: bpp = 24; internalFormat = GL20.GL_RGB; pixelFormat = GL20.GL_RGB; type = GL20.GL_UNSIGNED_BYTE; break; - case TextureFormat.RGBA: + case TextureFormat.RGBA: bpp = 32; internalFormat = GL20.GL_RGBA; pixelFormat = GL20.GL_RGBA; type = GL20.GL_UNSIGNED_BYTE; break; - case TextureFormat.Depth: + case TextureFormat.Depth: bpp = 0; // doesn't really matter for this one... ? internalFormat = GL20.GL_DEPTH_COMPONENT; pixelFormat = GL20.GL_DEPTH_COMPONENT; @@ -232,7 +232,7 @@ namespace Blarg.GameFramework.Graphics type = GL20.GL_FLOAT; break; - default: + default: bpp = 0; // junk -- just to appease the compiler @@ -242,7 +242,6 @@ namespace Blarg.GameFramework.Graphics break; } } - #region GraphicsContextResource public override void OnNewContext()