mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-23 01:57:21 +03:00
Something with streaming
This commit is contained in:
parent
e3ad2108f1
commit
6992f313a9
5 changed files with 37 additions and 30 deletions
|
|
@ -532,6 +532,8 @@ CreateTxdImageForVideoCard()
|
|||
// only works for textures that are not yet loaded
|
||||
// so let's hope that is the case for all
|
||||
rw::gl3::needToReadBackTextures = true;
|
||||
#elif defined RW_GLES1
|
||||
rw::gl1::needToReadBackTextures = true;
|
||||
#endif
|
||||
|
||||
#ifdef DISABLE_VSYNC_ON_TEXTURE_CONVERSION
|
||||
|
|
@ -582,6 +584,8 @@ CreateTxdImageForVideoCard()
|
|||
CStreaming::RemoveTxd(i);
|
||||
#ifdef RW_GL3
|
||||
rw::gl3::needToReadBackTextures = false;
|
||||
#elif defined RW_GLES1
|
||||
rw::gl1::needToReadBackTextures = false;
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
|
@ -617,6 +621,8 @@ CreateTxdImageForVideoCard()
|
|||
|
||||
#ifdef RW_GL3
|
||||
rw::gl3::needToReadBackTextures = false;
|
||||
#elif defined RW_GLES1
|
||||
rw::gl1::needToReadBackTextures = false;
|
||||
#endif
|
||||
|
||||
if (!pDir->WriteDirFile("models\\txd.dir")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue