summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau/nv30_state.c
diff options
context:
space:
mode:
authorPatrice Mandin <pmandin@caramail.com>2007-08-31 19:43:16 +0200
committerPatrice Mandin <pmandin@caramail.com>2007-08-31 19:46:39 +0200
commitb0a1e81887a831f72ffbec4fe005e1837c81018c (patch)
treed0de291a53403e42deaf91728376a3a36092442a /src/mesa/drivers/dri/nouveau/nv30_state.c
parent214347fdb4c30dc8bac5d4b9a823458709bc53ea (diff)
nouveau: add hw-dependent function to update modelview*projection matrix
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nv30_state.c')
-rw-r--r--src/mesa/drivers/dri/nouveau/nv30_state.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv30_state.c b/src/mesa/drivers/dri/nouveau/nv30_state.c
index cd3ee98688..ebd9e1c514 100644
--- a/src/mesa/drivers/dri/nouveau/nv30_state.c
+++ b/src/mesa/drivers/dri/nouveau/nv30_state.c
@@ -767,6 +767,10 @@ static void nv30TextureMatrix(GLcontext *ctx, GLuint unit, const GLmatrix *mat)
}
}
+static void nv30UpdateModelProjMatrix(nouveauContextPtr nmesa)
+{
+}
+
static void nv30WindowMoved(nouveauContextPtr nmesa)
{
GLcontext *ctx = nmesa->glCtx;
@@ -998,5 +1002,6 @@ void nv30InitStateFuncs(GLcontext *ctx, struct dd_function_table *func)
nmesa->hw_func.InitCard = nv30InitCard;
nmesa->hw_func.BindBuffers = nv30BindBuffers;
nmesa->hw_func.WindowMoved = nv30WindowMoved;
+ nmesa->hw_func.UpdateModelProjMatrix = nv30UpdateModelProjMatrix;
}