projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b72227
)
mesa: only call update_buffer when it's available
author
Alan Hourihane
<alanh@vmware.com>
Fri, 20 Feb 2009 14:40:08 +0000
(14:40 +0000)
committer
Alan Hourihane
<alanh@vmware.com>
Mon, 23 Feb 2009 20:29:56 +0000
(20:29 +0000)
src/mesa/state_tracker/st_cb_viewport.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_viewport.c
b/src/mesa/state_tracker/st_cb_viewport.c
index 6adf3162c1e86ec6974b354b087be0b379c99990..7b175288fcb3061772da6edfcf203241ad88461f 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_viewport.c
+++ b/
src/mesa/state_tracker/st_cb_viewport.c
@@
-40,7
+40,7
@@
static void st_viewport(GLcontext * ctx, GLint x, GLint y,
{
struct st_context *st = ctx->st;
- if (st->pipe->winsys)
+ if (st->pipe->winsys
&& st->pipe->winsys->update_buffer
)
st->pipe->winsys->update_buffer( st->pipe->winsys,
st->pipe->priv );
}