Avoid messaging for render targets

This commit is contained in:
samcake 2016-10-28 11:40:10 -07:00
parent 012e215f62
commit c21fe00cfc

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();
}