diff options
author | marha <marha@users.sourceforge.net> | 2010-12-31 17:51:19 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-12-31 17:51:19 +0000 |
commit | 322ed738a4dc37ce7d8101e7d480c8b4b72ef6f7 (patch) | |
tree | 4417bab0f93316fb0560496b429fd9a40bdc1600 /mesalib/src/mesa/state_tracker | |
parent | 19a3fad718fd3ae46a9825941f37033dfb5dd68f (diff) | |
parent | 43b6c9073b8aad1170536ae5c6a5a019617659f1 (diff) | |
download | vcxsrv-322ed738a4dc37ce7d8101e7d480c8b4b72ef6f7.tar.gz vcxsrv-322ed738a4dc37ce7d8101e7d480c8b4b72ef6f7.tar.bz2 vcxsrv-322ed738a4dc37ce7d8101e7d480c8b4b72ef6f7.zip |
svn merge ^/branches/released .
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 */
|