mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-25 17:43:44 +00:00
Merge pull request #619 from Azaezel/alpha40/glcubefix
fix opengl cubemap display
This commit is contained in:
commit
90951b3cc8
1 changed files with 3 additions and 0 deletions
|
|
@ -193,6 +193,9 @@ void GFXGLDevice::initGLState()
|
|||
|
||||
//enable sRGB
|
||||
glEnable(GL_FRAMEBUFFER_SRGB);
|
||||
|
||||
//enable seamless cubemapping
|
||||
glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS);
|
||||
}
|
||||
|
||||
void GFXGLDevice::vsyncCallback()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue