projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab24e12
)
st/osmesa: Fix osbuffer->textures indexing
author
Park, Jeongmin
<pjm0616@gmail.com>
Tue, 3 Feb 2015 02:52:03 +0000
(11:52 +0900)
committer
Brian Paul
<brianp@vmware.com>
Tue, 3 Feb 2015 22:46:56 +0000
(15:46 -0700)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88930
Cc: 10.4 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/state_trackers/osmesa/osmesa.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/osmesa/osmesa.c
b/src/gallium/state_trackers/osmesa/osmesa.c
index 6b27c8af12c393be5e225150a43d98d07727eaa5..4e2b2e045d6ca7026f495767c3a44e7350251863 100644
(file)
--- 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);
}