diff options
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2023-03-13 08:01:40 +0100 |
---|---|---|
committer | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2023-03-14 16:30:24 +0000 |
commit | f5085908a2778b7cc539758f21f3b3da9719b196 (patch) | |
tree | 2fa3a10e0411fa165021c04b144dcefa22e547b9 /src/demos/ray.c | |
parent | 7a5bd8c71597e08f91291f9e2bb4750e2b6ba113 (diff) | |
download | mesa-demos-f5085908a2778b7cc539758f21f3b3da9719b196.tar.gz |
completely retire xmesa/fx code
This is ancient code that hasn't been hooked up to the build system
since the conversion to autoconf, back in 2007.
The code is here to support Mesa on Glide, which isn't something that
hasn't been supported in Mesa since Mesa 7.2/3, released in 2009. We
had a dummy implementation in Mesa that did nothing and always reported
failure until 2017, but now even that is gone.
It's about time to let this code go, as it has no chance to even build
on new Mesa versions.
Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com>
Diffstat (limited to 'src/demos/ray.c')
-rw-r--r-- | src/demos/ray.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/demos/ray.c b/src/demos/ray.c index 8611b53b..7b70603d 100644 --- a/src/demos/ray.c +++ b/src/demos/ray.c @@ -17,11 +17,6 @@ #include "glut_wrap.h" -#ifdef XMESA -#include "GL/xmesa.h" -static int fullscreen = 1; -#endif - static int WIDTH = 640; static int HEIGHT = 480; @@ -226,12 +221,6 @@ key(unsigned char k, int x, int y) poutline = 1; } break; -#ifdef XMESA - case ' ': - XMesaSetFXmode(fullscreen ? XMESA_FX_FULLSCREEN : XMESA_FX_WINDOW); - fullscreen = (!fullscreen); - break; -#endif } } @@ -881,9 +870,6 @@ main(int ac, char **av) glFogfv(GL_FOG_COLOR, fogcolor); glFogf(GL_FOG_DENSITY, 0.01); -#ifdef FX - glHint(GL_FOG_HINT, GL_NICEST); -#endif calcposobs(); |