projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0b3535
)
gallium: fix frontbuffer rendering with r300g
author
Dave Airlie
<airlied@redhat.com>
Mon, 15 Mar 2010 20:49:38 +0000
(06:49 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 15 Mar 2010 20:51:04 +0000
(06:51 +1000)
No idea if this is the correct fix, but it makes it work again at least.
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/state_trackers/dri/dri_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/dri/dri_context.c
b/src/gallium/state_trackers/dri/dri_context.c
index 2f991c39e33b82478eb7e9a6430ad803378ba168..9811f8cf43c2b7fbac4aa672779b4fc9fbb9fa16 100644
(file)
--- a/
src/gallium/state_trackers/dri/dri_context.c
+++ b/
src/gallium/state_trackers/dri/dri_context.c
@@
-167,7
+167,7
@@
dri_make_current(__DRIcontext * cPriv,
* flush_frontbuffer directly (in front-buffer rendering), it
* will have access to the drawable argument:
*/
- st_make_current(ctx->st, draw->stfb, read->stfb,
NULL
);
+ st_make_current(ctx->st, draw->stfb, read->stfb,
ctx
);
if (__dri1_api_hooks) {
dri1_update_drawables(ctx, draw, read);