projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c02b38d
)
st/mesa: remove redundant calls to _mesa_set_vp_override()
author
Brian Paul
<brianp@vmware.com>
Fri, 7 Aug 2009 16:49:38 +0000
(10:49 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 7 Aug 2009 16:49:38 +0000
(10:49 -0600)
Called from core Mesa now.
src/mesa/state_tracker/st_cb_drawpixels.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_drawpixels.c
b/src/mesa/state_tracker/st_cb_drawpixels.c
index b39403129d0f2486b04a75ace5f30b2a03fc9a4c..d19a88fa7c156f3581c9c81f63681f78375a4593 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_drawpixels.c
+++ b/
src/mesa/state_tracker/st_cb_drawpixels.c
@@
-804,8
+804,8
@@
st_DrawPixels(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height,
return;
}
- _mesa_set_vp_override( ctx, TRUE );
-
_mesa_update_state( ctx
);
+ /* Mesa state should be up to date by now */
+
assert(ctx->NewState == 0x0
);
st_validate_state(st);
@@
-833,8
+833,6
@@
st_DrawPixels(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height,
pipe_texture_reference(&pt, NULL);
}
}
-
- _mesa_set_vp_override( ctx, FALSE );
}