Fixed build

This commit is contained in:
Robert Osfield
2018-09-11 10:13:49 +01:00
parent 7fae3b67cd
commit 4ea833cc6b
4 changed files with 4 additions and 4 deletions

View File

@@ -293,7 +293,7 @@ void TextureCubeMap::apply(State& state) const
_textureWidth = _textureHeight = minimum( _textureWidth , _textureHeight );
}
GLenum texStorageSizedInternalFormat = extensions->isTextureStorageEnabled && (_borderWidth==0) ? selectSizedInternalFormat(_images[0]) : 0;
GLenum texStorageSizedInternalFormat = extensions->isTextureStorageEnabled && (_borderWidth==0) ? selectSizedInternalFormat(_images[0].get()) : 0;
textureObject = generateAndAssignTextureObject(
contextID, GL_TEXTURE_CUBE_MAP, _numMipmapLevels,