From 8667bd3ca2339ef2d1f3342cfe71c7c10b6c55dc Mon Sep 17 00:00:00 2001 From: rextimmy Date: Mon, 21 Mar 2016 22:49:47 +1000 Subject: [PATCH] GL floating point format fix. --- Engine/source/gfx/gl/gfxGLCardProfiler.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Engine/source/gfx/gl/gfxGLCardProfiler.cpp b/Engine/source/gfx/gl/gfxGLCardProfiler.cpp index b4b968b85..46119253b 100644 --- a/Engine/source/gfx/gl/gfxGLCardProfiler.cpp +++ b/Engine/source/gfx/gl/gfxGLCardProfiler.cpp @@ -50,16 +50,6 @@ void GFXGLCardProfiler::init() mVideoMemory = static_cast(GFX)->getTotalVideoMemory(); Parent::init(); - - // Set new enums here so if our profile script forces this to be false we keep the GL_ZEROs. - if(queryProfile("GL::suppFloatTexture")) - { - GFXGLTextureInternalFormat[GFXFormatR16G16F] = GL_RGBA_FLOAT16_ATI; - GFXGLTextureFormat[GFXFormatR16G16F] = GL_RGBA; - GFXGLTextureInternalFormat[GFXFormatR16G16B16A16F] = GL_RGBA_FLOAT16_ATI; - GFXGLTextureInternalFormat[GFXFormatR32G32B32A32F] = GL_RGBA_FLOAT32_ATI; - GFXGLTextureInternalFormat[GFXFormatR32F] = GL_RGBA_FLOAT32_ATI; - } } void GFXGLCardProfiler::setupCardCapabilities()