summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2005-10-26 10:11:34 +0000
committerEric Anholt <anholt@FreeBSD.org>2005-10-26 10:11:34 +0000
commitf8a5898ca025ef48510d67f00f56fe4b2b7ef64d (patch)
treed9839c7164691bfba1788e05fe3b5d356df7338c /src/mesa/drivers
parent9eaed1178d4cc6dff85a4f5d3ad93dff0051763e (diff)
Add support for GL_EXT_fog_coord, tested using tests/fog.c. (Also, matches the
output from indirect rendering).
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r128/r128_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r128/r128_context.c b/src/mesa/drivers/dri/r128/r128_context.c
index f071bbecbf..986be35c9d 100644
--- a/src/mesa/drivers/dri/r128/r128_context.c
+++ b/src/mesa/drivers/dri/r128/r128_context.c
@@ -68,6 +68,7 @@ int R128_DEBUG = 0;
#define need_GL_ARB_multisample
#define need_GL_ARB_texture_compression
+#define need_GL_EXT_fog_coord
#define need_GL_EXT_blend_minmax
#include "extension_helper.h"
@@ -79,6 +80,7 @@ const struct dri_extension card_extensions[] =
{ "GL_ARB_texture_env_add", NULL },
{ "GL_ARB_texture_mirrored_repeat", NULL },
{ "GL_EXT_blend_subtract", GL_EXT_blend_minmax_functions },
+ { "GL_EXT_fog_coord", GL_EXT_fog_coord_functions },
{ "GL_EXT_texture_edge_clamp", NULL },
{ "GL_MESA_ycbcr_texture", NULL },
{ "GL_NV_blend_square", NULL },