handle texture death
finally fixes resize
This commit is contained in:
parent
d00cdabe6e
commit
f66d723251
6 changed files with 28 additions and 1 deletions
|
|
@ -792,6 +792,9 @@ void FurnaceGUI::drawTutorial() {
|
|||
}
|
||||
if (cvTex==NULL) {
|
||||
cvTex=rend->createTexture(true,320,224,false,bestTexFormat);
|
||||
} else if (!rend->isTextureValid(cvTex)) {
|
||||
rend->destroyTexture(cvTex);
|
||||
cvTex=rend->createTexture(true,320,224,false,bestTexFormat);
|
||||
}
|
||||
|
||||
if (cv->pleaseInitSongs) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue