projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5d00cf
)
Fix segfault in nouveauCalcViewport
author
Ben Skeggs
<darktama@iinet.net.au>
Mon, 13 Nov 2006 16:01:03 +0000
(16:01 +0000)
committer
Ben Skeggs
<darktama@iinet.net.au>
Mon, 13 Nov 2006 16:01:03 +0000
(16:01 +0000)
src/mesa/drivers/dri/nouveau/nouveau_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/nouveau/nouveau_context.c
b/src/mesa/drivers/dri/nouveau/nouveau_context.c
index f815ace31ced24cf73c1f1928a7273c1c1a9884a..34a65d6d4b76d8011616a16e1a7cfb0beca53091 100644
(file)
--- 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: