Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
8e848d682e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      src/gallium/state_trackers/dri/dri_context.c

+ 1
- 1
src/gallium/state_trackers/dri/dri_context.c Näytä tiedosto

@@ -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…
Peruuta
Tallenna