change gl caps.dat constants

This commit is contained in:
aap 2020-11-16 09:41:39 +01:00
parent 1686eb9871
commit 2f9a905c61

View File

@ -942,7 +942,9 @@ RwBool RtCharsetDestroy(RtCharset * charSet) { charSet->destroy(); return
RwInt32 _rwD3D8FindCorrectRasterFormat(RwRasterType type, RwInt32 flags) RwInt32 _rwD3D8FindCorrectRasterFormat(RwRasterType type, RwInt32 flags)
{ {
#ifdef RW_GL3 #ifdef RW_GL3
return '3LGO'; if(flags & (rwRASTERFORMATPAL8 | rwRASTERFORMAT8888))
return 'NOPE';
return 'YUP';
#endif #endif
return flags & 0xF00; return flags & 0xF00;
} }