From acdf602505ee4c460cf162e314955ae0bf32d708 Mon Sep 17 00:00:00 2001 From: aap Date: Mon, 16 Nov 2020 09:48:38 +0100 Subject: [PATCH] change gl caps.dat constants --- src/fakerw/fake.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fakerw/fake.cpp b/src/fakerw/fake.cpp index f37e5813..5d53605d 100644 --- a/src/fakerw/fake.cpp +++ b/src/fakerw/fake.cpp @@ -943,7 +943,9 @@ RwBool RtCharsetDestroy(RtCharset * charSet) { charSet->destroy(); return RwInt32 _rwD3D8FindCorrectRasterFormat(RwRasterType type, RwInt32 flags) { #ifdef RW_GL3 - return '3LGO'; + if(flags & (rwRASTERFORMATPAL8 | rwRASTERFORMAT8888)) + return 'NOPE'; + return 'YUP'; #endif return flags & 0xF00; }