Mark mipmap levels as complete when generated

This commit is contained in:
Luke Benstead 2018-08-16 17:53:39 +01:00
parent ba66608a96
commit 37ba9bf3c3

View File

@ -248,6 +248,8 @@ void APIENTRY glGenerateMipmapEXT(GLenum target) {
} }
} }
tex->mipmap |= (1 << i);
prevWidth = thisWidth; prevWidth = thisWidth;
prevHeight = thisHeight; prevHeight = thisHeight;
} }