From 82b389a720dced9fbd48f1cdd6bcd75054242458 Mon Sep 17 00:00:00 2001 From: Brian Koropoff Date: Sat, 3 Sep 2005 03:31:02 +0000 Subject: [PATCH] Fixes -x11 target on x86-64. Shouldn't break anything on other supported architectures. --- TODO | 1 + libs/video/targets/vid_x11.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 11b28d415..313bee117 100644 --- a/TODO +++ b/TODO @@ -7,6 +7,7 @@ W = waiting on other work + X fix skybox/dome vis problems (workable solution found, needs new renderer) X It's possible to stick on some obtuse-angled corners qwsv 2.3x didn't X ~/.quakeforgerc should support all commands, not just set and setrom diff --git a/libs/video/targets/vid_x11.c b/libs/video/targets/vid_x11.c index 4a74b3a9f..089cf6b77 100644 --- a/libs/video/targets/vid_x11.c +++ b/libs/video/targets/vid_x11.c @@ -100,7 +100,7 @@ static byte current_palette[768]; typedef unsigned char PIXEL8; typedef unsigned short PIXEL16; -typedef unsigned long PIXEL24; +typedef unsigned int PIXEL24; static PIXEL16 st2d_8to16table[256]; static PIXEL24 st2d_8to24table[256];