diff options
author | marha <marha@users.sourceforge.net> | 2010-12-31 17:42:11 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-12-31 17:42:11 +0000 |
commit | 43b6c9073b8aad1170536ae5c6a5a019617659f1 (patch) | |
tree | f20e9574aff8ff95b1364bed1092f369199192fd /mesalib/src/mesa/state_tracker | |
parent | 807c6931fe683fd844ceec1b023232181e6aae03 (diff) | |
download | vcxsrv-43b6c9073b8aad1170536ae5c6a5a019617659f1.tar.gz vcxsrv-43b6c9073b8aad1170536ae5c6a5a019617659f1.tar.bz2 vcxsrv-43b6c9073b8aad1170536ae5c6a5a019617659f1.zip |
mesa git update 31/12/2010
Diffstat (limited to 'mesalib/src/mesa/state_tracker')
-rw-r--r-- | mesalib/src/mesa/state_tracker/st_cb_texture.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_cb_texture.c b/mesalib/src/mesa/state_tracker/st_cb_texture.c index 0bd312154..8373b8ee5 100644 --- a/mesalib/src/mesa/state_tracker/st_cb_texture.c +++ b/mesalib/src/mesa/state_tracker/st_cb_texture.c @@ -1528,6 +1528,9 @@ st_copy_texsubimage(struct gl_context *ctx, if (texBaseFormat == GL_DEPTH_COMPONENT ||
texBaseFormat == GL_DEPTH_STENCIL) {
strb = st_renderbuffer(fb->_DepthBuffer);
+ if (strb->Base.Wrapped) {
+ strb = st_renderbuffer(strb->Base.Wrapped);
+ }
}
else {
/* texBaseFormat == GL_RGB, GL_RGBA, GL_ALPHA, etc */
|