mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-04 21:10:32 +00:00
GL floating point format fix.
This commit is contained in:
parent
7bba3ee2de
commit
8667bd3ca2
1 changed files with 0 additions and 10 deletions
|
|
@ -50,16 +50,6 @@ void GFXGLCardProfiler::init()
|
|||
mVideoMemory = static_cast<GFXGLDevice*>(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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue