From 958fb63b201b73bcf3a0944b23fad91f4e536328 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Fri, 15 Nov 2024 02:50:50 +0300 Subject: [PATCH] disable EXT_packed_pixels on big endian systems as a workaround for https://github.com/sezero/quakespasm/issues/114 --- Quake/gl_vidsdl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Quake/gl_vidsdl.c b/Quake/gl_vidsdl.c index 4455f4f86..2966735bd 100644 --- a/Quake/gl_vidsdl.c +++ b/Quake/gl_vidsdl.c @@ -1276,6 +1276,8 @@ static void GL_CheckExtensions (void) // if (COM_CheckParm("-nopackedpixels")) Con_Warning ("EXT_packed_pixels disabled at command line\n"); + else if (host_bigendian) /** FIXME: See https://github.com/sezero/quakespasm/issues/114 **/ + Con_Warning ("EXT_packed_pixels disabled on big endian systems"); else if (gl_glsl_alias_able) { gl_packed_pixels = true;