mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-25 23:29:24 +00:00
fix opengl cubemap display
This commit is contained in:
parent
fe3edb8ccf
commit
bce14ab63f
1 changed files with 3 additions and 0 deletions
|
|
@ -187,6 +187,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