mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-23 01:57:21 +03:00
Restore gl1 implementation
This commit is contained in:
parent
af4ab6f1ac
commit
cbc14ed824
10 changed files with 293 additions and 449 deletions
6
vendor/librw/src/texture.cpp
vendored
6
vendor/librw/src/texture.cpp
vendored
|
|
@ -484,7 +484,7 @@ Texture::streamReadNative(Stream *stream)
|
|||
return gl3::readNativeTexture(stream);
|
||||
#ifdef RW_GLES1
|
||||
if(platform == PLATFORM_GLES1){
|
||||
//return gles1::readNativeTexture(stream);
|
||||
return gles1::readNativeTexture(stream);
|
||||
}
|
||||
#endif
|
||||
assert(0 && "unsupported platform");
|
||||
|
|
@ -506,7 +506,7 @@ Texture::streamWriteNative(Stream *stream)
|
|||
gl3::writeNativeTexture(this, stream);
|
||||
#ifdef RW_GLES1
|
||||
else if(this->raster->platform == PLATFORM_GLES1){
|
||||
//gles1::writeNativeTexture(this, stream);
|
||||
gles1::writeNativeTexture(this, stream);
|
||||
}
|
||||
#endif
|
||||
else
|
||||
|
|
@ -528,7 +528,7 @@ Texture::streamGetSizeNative(void)
|
|||
return gl3::getSizeNativeTexture(this);
|
||||
#ifdef RW_GLES1
|
||||
if(this->raster->platform == PLATFORM_GLES1){
|
||||
//return gles1::getSizeNativeTexture(this);
|
||||
return gles1::getSizeNativeTexture(this);
|
||||
}
|
||||
#endif
|
||||
assert(0 && "unsupported platform");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue