Mark mipmap levels as complete when generated
This commit is contained in:
parent
ba66608a96
commit
37ba9bf3c3
|
@ -248,6 +248,8 @@ void APIENTRY glGenerateMipmapEXT(GLenum target) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tex->mipmap |= (1 << i);
|
||||||
|
|
||||||
prevWidth = thisWidth;
|
prevWidth = thisWidth;
|
||||||
prevHeight = thisHeight;
|
prevHeight = thisHeight;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user