OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1e567f
)
st/mesa: substitute argument to guess_base_level_size() call
author
Brian Paul
<brianp@vmware.com>
Wed, 28 Sep 2011 16:37:22 +0000
(10:37 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 28 Sep 2011 16:39:10 +0000
(10:39 -0600)
stObj->base.BaseLevel and firstImage->base.Level have the same value
but the later looks more consistent in the function call.
src/mesa/state_tracker/st_cb_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_texture.c
b/src/mesa/state_tracker/st_cb_texture.c
index
354e58d
..
8df753f
100644
(file)
--- a/
src/mesa/state_tracker/st_cb_texture.c
+++ b/
src/mesa/state_tracker/st_cb_texture.c
@@
-1707,7
+1707,7
@@
st_finalize_texture(struct gl_context *ctx,
firstImage->base.Width2,
firstImage->base.Height2,
firstImage->base.Depth2,
-
stObj->base.Base
Level,
+
firstImage->base.
Level,
&width, &height, &depth)) {
width = stObj->width0;
height = stObj->height0;