aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-10-31 10:52:56 -0600
committerBrian Paul <[email protected]>2011-10-31 10:52:56 -0600
commit7d577d703d7d4f79cae047db6f29d5fd0643edd5 (patch)
tree1341d8776ce6d1da750ccd4873a1bb8e343db90d /src/mesa/main
parenta0d736b3b7c325ab0295da3b0e3b92d170b44261 (diff)
mesa: display list dispatch for GL_ARB_texture_storage
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/dlist.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 52548fdc1f0..06832b6f586 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -61,6 +61,7 @@
#include "shaderapi.h"
#include "syncobj.h"
#include "teximage.h"
+#include "texstorage.h"
#include "mtypes.h"
#include "varray.h"
#if FEATURE_ARB_vertex_program || FEATURE_ARB_fragment_program
@@ -10364,6 +10365,14 @@ _mesa_create_save_table(void)
_mesa_init_sync_dispatch(table);
SET_WaitSync(table, save_WaitSync);
+ /* GL_ARB_texture_storage (no dlist support) */
+ SET_TexStorage1D(table, _mesa_TexStorage1D);
+ SET_TexStorage2D(table, _mesa_TexStorage2D);
+ SET_TexStorage3D(table, _mesa_TexStorage3D);
+ SET_TextureStorage1DEXT(table, _mesa_TextureStorage1DEXT);
+ SET_TextureStorage2DEXT(table, _mesa_TextureStorage2DEXT);
+ SET_TextureStorage3DEXT(table, _mesa_TextureStorage3DEXT);
+
return table;
}