Browse Source

gallium: fix frontbuffer rendering with r300g

No idea if this is the correct fix, but it makes it work again at least.

Signed-off-by: Dave Airlie <airlied@redhat.com>
tags/mesa-7.9-rc1
Dave Airlie 15 years ago
parent
commit
8e848d682e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/gallium/state_trackers/dri/dri_context.c

+ 1
- 1
src/gallium/state_trackers/dri/dri_context.c View File

@@ -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);

Loading…
Cancel
Save