mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-01 03:23:52 +00:00
glGenerateMipmap on uncompressed cubemap
This commit is contained in:
parent
0cf36a8906
commit
ca04726ad6
1 changed files with 2 additions and 0 deletions
|
|
@ -89,6 +89,8 @@ void GFXGLCubemap::fillCubeTextures(GFXTexHandle* faces)
|
|||
0, GFXGLTextureFormat[faceFormat], GFXGLTextureType[faceFormat], buf);
|
||||
delete[] buf;
|
||||
}
|
||||
|
||||
glGenerateMipmap(GL_TEXTURE_CUBE_MAP);
|
||||
}
|
||||
|
||||
void GFXGLCubemap::initStatic(GFXTexHandle* faces)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue