mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-23 01:57:21 +03:00
Changes were made to allow compilation in Carbide C++ 2.7 and the Nokia S60v5 SDK. Important code from the OpenGL ES 1.1 backend was commented out since it prevented compilation
This commit is contained in:
parent
558f1b9f32
commit
33a8324d08
48 changed files with 486 additions and 295 deletions
15
vendor/librw/src/texture.cpp
vendored
15
vendor/librw/src/texture.cpp
vendored
|
|
@ -483,8 +483,9 @@ Texture::streamReadNative(Stream *stream)
|
|||
if(platform == PLATFORM_GL3)
|
||||
return gl3::readNativeTexture(stream);
|
||||
#ifdef RW_GLES1
|
||||
if(platform == PLATFORM_GLES1)
|
||||
return gles1::readNativeTexture(stream);
|
||||
if(platform == PLATFORM_GLES1){
|
||||
//return gles1::readNativeTexture(stream);
|
||||
}
|
||||
#endif
|
||||
assert(0 && "unsupported platform");
|
||||
return nil;
|
||||
|
|
@ -504,8 +505,9 @@ Texture::streamWriteNative(Stream *stream)
|
|||
else if(this->raster->platform == PLATFORM_GL3)
|
||||
gl3::writeNativeTexture(this, stream);
|
||||
#ifdef RW_GLES1
|
||||
else if(this->raster->platform == PLATFORM_GLES1)
|
||||
gles1::writeNativeTexture(this, stream);
|
||||
else if(this->raster->platform == PLATFORM_GLES1){
|
||||
//gles1::writeNativeTexture(this, stream);
|
||||
}
|
||||
#endif
|
||||
else
|
||||
assert(0 && "unsupported platform");
|
||||
|
|
@ -525,8 +527,9 @@ Texture::streamGetSizeNative(void)
|
|||
if(this->raster->platform == PLATFORM_GL3)
|
||||
return gl3::getSizeNativeTexture(this);
|
||||
#ifdef RW_GLES1
|
||||
if(this->raster->platform == PLATFORM_GLES1)
|
||||
return gles1::getSizeNativeTexture(this);
|
||||
if(this->raster->platform == PLATFORM_GLES1){
|
||||
//return gles1::getSizeNativeTexture(this);
|
||||
}
|
||||
#endif
|
||||
assert(0 && "unsupported platform");
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue