more fixes to librw stuff

This commit is contained in:
aap
2020-11-18 11:16:02 +01:00
parent 498a2795d9
commit 9826fdf6d5
14 changed files with 4 additions and 382 deletions

View File

@ -351,7 +351,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
@ -385,7 +385,7 @@ CreateTxdImageForVideoCard()
delete []buf;
delete pDir;
CStreaming::RemoveTxd(i);
#ifdef LIBRW
#ifdef RW_GL3
rw::gl3::needToReadBackTextures = false;
#endif
return false;
@ -414,7 +414,7 @@ CreateTxdImageForVideoCard()
RwStreamClose(img, nil);
delete []buf;
#ifdef LIBRW
#ifdef RW_GL3
rw::gl3::needToReadBackTextures = false;
#endif