Merge pull request #8948 from samcake/blue

Avoid messaging for render targets generating mip maps
This commit is contained in:
Chris Collins 2016-10-31 11:09:06 -07:00 committed by GitHub
commit 0520aa9ad5

View file

@ -322,7 +322,9 @@ void GL45Texture::withPreservedTexture(std::function<void()> f) const {
}
void GL45Texture::generateMips() const {
qCDebug(gpugl45logging) << "Generating mipmaps for " << _source.c_str();
if (_transferrable) {
qCDebug(gpugl45logging) << "Generating mipmaps for " << _source.c_str();
}
glGenerateTextureMipmap(_id);
(void)CHECK_GL_ERROR();
}