diff options
author | Ben Skeggs <[email protected]> | 2006-11-13 16:01:03 +0000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2006-11-13 16:01:03 +0000 |
commit | 47695f06894ed28602ad9ec1449739e658498c82 (patch) | |
tree | 35627731302866d113275804b09629726c4bd952 /src/mesa/drivers/dri | |
parent | d5d00cf8c93d607876f66ca87e82087497f47d4a (diff) |
Fix segfault in nouveauCalcViewport
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.c b/src/mesa/drivers/dri/nouveau/nouveau_context.c index f815ace31ce..34a65d6d4b7 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_context.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_context.c @@ -135,6 +135,8 @@ GLboolean nouveauCreateContext( const __GLcontextModes *glVisual, _tnl_CreateContext( ctx ); _swsetup_CreateContext( ctx ); + _math_matrix_ctr(&nmesa->viewport); + switch(nmesa->screen->card->type) { case NV_03: |