summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i810/i810context.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-08-19 00:48:25 +0000
committerIan Romanick <idr@us.ibm.com>2005-08-19 00:48:25 +0000
commitf7eb54a12f65deb46a52e4d15a6e537f49f3287b (patch)
treedb4fd20016928879e72b9c03369b7e7b5b98f8ec /src/mesa/drivers/dri/i810/i810context.c
parente0029b33effd299bb6b659ffd4309f8fa5c7afcf (diff)
Enable ARB_texture_compression. The code has been in place for a long time,
but, for whatever reason, the extension wasn't enabled. Add some comments to i810ChooseTextureFormat. There's some strangeness with i810 texture formats.
Diffstat (limited to 'src/mesa/drivers/dri/i810/i810context.c')
-rw-r--r--src/mesa/drivers/dri/i810/i810context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i810/i810context.c b/src/mesa/drivers/dri/i810/i810context.c
index 8389321924..47c41c5db2 100644
--- a/src/mesa/drivers/dri/i810/i810context.c
+++ b/src/mesa/drivers/dri/i810/i810context.c
@@ -63,6 +63,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "utils.h"
#define need_GL_ARB_multisample
+#define need_GL_ARB_texture_compression
#include "extension_helper.h"
#ifndef I810_DEBUG
@@ -122,6 +123,7 @@ const struct dri_extension card_extensions[] =
{
{ "GL_ARB_multisample", GL_ARB_multisample_functions },
{ "GL_ARB_multitexture", NULL },
+ { "GL_ARB_texture_compression", GL_ARB_texture_compression_functions },
{ "GL_ARB_texture_env_add", NULL },
{ "GL_ARB_texture_mirrored_repeat", NULL },
{ "GL_EXT_stencil_wrap", NULL },