mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-09 16:02:47 +00:00
changes to librw layer, GLES now runtime choice
This commit is contained in:
parent
448c56647f
commit
8c70c2a136
30 changed files with 568 additions and 182 deletions
|
@ -936,16 +936,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