aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/dlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/dlist.c')
-rw-r--r--mesalib/src/mesa/main/dlist.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/dlist.c b/mesalib/src/mesa/main/dlist.c
index 52548fdc1..e1acc8028 100644
--- a/mesalib/src/mesa/main/dlist.c
+++ b/mesalib/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
@@ -7363,7 +7364,7 @@ save_BeginConditionalRender(GLuint queryId, GLenum mode)
}
static void GLAPIENTRY
-save_EndConditionalRender()
+save_EndConditionalRender(void)
{
GET_CURRENT_CONTEXT(ctx);
ASSERT_OUTSIDE_SAVE_BEGIN_END_AND_FLUSH(ctx);
@@ -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;
}