more fixes to librw stuff

This commit is contained in:
aap
2020-11-18 11:15:27 +01:00
parent 8c70c2a136
commit acb29e0dad
14 changed files with 4 additions and 385 deletions

View File

@ -384,7 +384,7 @@ CreateTxdImageForVideoCard()
return false;
}
#ifdef LIBRW
#ifdef RW_GL3
// so we can read back DXT with GLES
// only works for textures that are not yet loaded
// so let's hope that is the case for all
@ -418,7 +418,7 @@ CreateTxdImageForVideoCard()
delete []buf;
delete pDir;
CStreaming::RemoveTxd(i);
#ifdef LIBRW
#ifdef RW_GL3
rw::gl3::needToReadBackTextures = false;
#endif
return false;
@ -447,7 +447,7 @@ CreateTxdImageForVideoCard()
RwStreamClose(img, nil);
delete []buf;
#ifdef LIBRW
#ifdef RW_GL3
rw::gl3::needToReadBackTextures = false;
#endif