From f8a5898ca025ef48510d67f00f56fe4b2b7ef64d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 26 Oct 2005 10:11:34 +0000 Subject: [PATCH] Add support for GL_EXT_fog_coord, tested using tests/fog.c. (Also, matches the output from indirect rendering). --- src/mesa/drivers/dri/r128/r128_context.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/r128/r128_context.c b/src/mesa/drivers/dri/r128/r128_context.c index f071bbecbfd..986be35c9d1 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 }, -- 2.30.2