diff options
author | Patrice Mandin <pmandin@caramail.com> | 2007-08-31 19:43:16 +0200 |
---|---|---|
committer | Patrice Mandin <pmandin@caramail.com> | 2007-08-31 19:46:39 +0200 |
commit | b0a1e81887a831f72ffbec4fe005e1837c81018c (patch) | |
tree | d0de291a53403e42deaf91728376a3a36092442a /src/mesa/drivers/dri/nouveau/nv50_state.c | |
parent | 214347fdb4c30dc8bac5d4b9a823458709bc53ea (diff) |
nouveau: add hw-dependent function to update modelview*projection matrix
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nv50_state.c')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv50_state.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv50_state.c b/src/mesa/drivers/dri/nouveau/nv50_state.c index a9236f093c..66a18c4a15 100644 --- a/src/mesa/drivers/dri/nouveau/nv50_state.c +++ b/src/mesa/drivers/dri/nouveau/nv50_state.c @@ -520,6 +520,10 @@ static void nv50TextureMatrix(GLcontext *ctx, GLuint unit, const GLmatrix *mat) /* Only with shaders */ } +static void nv50UpdateModelProjMatrix(nouveauContextPtr nmesa) +{ +} + static void nv50WindowMoved(nouveauContextPtr nmesa) { GLcontext *ctx = nmesa->glCtx; @@ -638,4 +642,5 @@ void nv50InitStateFuncs(GLcontext *ctx, struct dd_function_table *func) nmesa->hw_func.InitCard = nv50InitCard; nmesa->hw_func.BindBuffers = nv50BindBuffers; nmesa->hw_func.WindowMoved = nv50WindowMoved; + nmesa->hw_func.UpdateModelProjMatrix = nv50UpdateModelProjMatrix; } |