summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/state.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-05-23 20:10:49 +0000
committerBrian Paul <[email protected]>2000-05-23 20:10:49 +0000
commit1207bf057aeea3376e5e0f03f789a5d67ed4d29d (patch)
tree525453df0a3b76bef0ff6d3ddfd61345d51a376f /src/mesa/main/state.c
parent35d5301a54153930ee6fd60dff1010ce9f901397 (diff)
initial work for GL_ARB_texture_compression
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r--src/mesa/main/state.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index ead81566c88..9eb8aafb675 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -1,4 +1,4 @@
-/* $Id: state.c,v 1.12 2000/05/10 22:36:05 brianp Exp $ */
+/* $Id: state.c,v 1.13 2000/05/23 20:10:50 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -641,9 +641,20 @@ _mesa_init_exec_table(struct _glapi_table *exec)
exec->LoadTransposeMatrixfARB = _mesa_LoadTransposeMatrixfARB;
exec->MultTransposeMatrixdARB = _mesa_MultTransposeMatrixdARB;
exec->MultTransposeMatrixfARB = _mesa_MultTransposeMatrixfARB;
+
+ /* ARB 12. GL_ARB_texture_compression */
+ exec->CompressedTexImage3DARB = _mesa_CompressedTexImage3DARB;
+ exec->CompressedTexImage2DARB = _mesa_CompressedTexImage2DARB;
+ exec->CompressedTexImage1DARB = _mesa_CompressedTexImage1DARB;
+ exec->CompressedTexSubImage3DARB = _mesa_CompressedTexSubImage3DARB;
+ exec->CompressedTexSubImage2DARB = _mesa_CompressedTexSubImage2DARB;
+ exec->CompressedTexSubImage1DARB = _mesa_CompressedTexSubImage1DARB;
+ exec->GetCompressedTexImageARB = _mesa_GetCompressedTexImageARB;
+
}
+
/**********************************************************************/
/***** State update logic *****/
/**********************************************************************/