Add support for GL_EXT_fog_coord, tested using tests/fog.c. (Also, matches the
authorEric Anholt <anholt@FreeBSD.org>
Wed, 26 Oct 2005 10:11:34 +0000 (10:11 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Wed, 26 Oct 2005 10:11:34 +0000 (10:11 +0000)
output from indirect rendering).

src/mesa/drivers/dri/r128/r128_context.c

index f071bbecbfd9153c3176e541736fd07389713a1d..986be35c9d158643b49f8f4c5f6f19d8afa028c0 100644 (file)
@@ -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 },