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:
Dante Leoncini 2026-05-01 07:16:02 -03:00
parent 558f1b9f32
commit 33a8324d08
48 changed files with 486 additions and 295 deletions

View file

@ -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;