diff options
-rw-r--r-- | src/gallium/state_trackers/osmesa/osmesa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/osmesa/osmesa.c b/src/gallium/state_trackers/osmesa/osmesa.c index 6b27c8af12c..4e2b2e045d6 100644 --- a/src/gallium/state_trackers/osmesa/osmesa.c +++ b/src/gallium/state_trackers/osmesa/osmesa.c @@ -431,7 +431,7 @@ osmesa_st_framebuffer_validate(struct st_context_iface *stctx, templat.format = format; templat.bind = bind; - out[i] = osbuffer->textures[i] = + out[i] = osbuffer->textures[statts[i]] = screen->resource_create(screen, &templat); } |