mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +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
|
//enable sRGB
|
||||||
glEnable(GL_FRAMEBUFFER_SRGB);
|
glEnable(GL_FRAMEBUFFER_SRGB);
|
||||||
|
|
||||||
|
//enable seamless cubemapping
|
||||||
|
glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GFXGLDevice::vsyncCallback()
|
void GFXGLDevice::vsyncCallback()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue