mirror of
https://github.com/GTAmodding/re3.git
synced 2025-08-30 22:55:28 +00:00
changes to librw layer, GLES now runtime choice
This commit is contained in:
parent
b58a54527e
commit
82b0103c67
30 changed files with 563 additions and 181 deletions
|
@ -935,16 +935,3 @@ RtCharset *RtCharsetSetColors(RtCharset * charSet, const RwRGBA * foreGround,
|
|||
RtCharset *RtCharsetGetDesc(RtCharset * charset, RtCharsetDesc * desc) { *desc = charset->desc; return charset; }
|
||||
RtCharset *RtCharsetCreate(const RwRGBA * foreGround, const RwRGBA * backGround) { return Charset::create(foreGround, backGround); }
|
||||
RwBool RtCharsetDestroy(RtCharset * charSet) { charSet->destroy(); return true; }
|
||||
|
||||
|
||||
|
||||
// fake shit
|
||||
RwInt32 _rwD3D8FindCorrectRasterFormat(RwRasterType type, RwInt32 flags)
|
||||
{
|
||||
#ifdef RW_GL3
|
||||
if(flags & (rwRASTERFORMATPAL8 | rwRASTERFORMAT8888))
|
||||
return 'NOPE';
|
||||
return 'YUP';
|
||||
#endif
|
||||
return flags & 0xF00;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue