projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df92695
)
indentation fix
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 18 Jul 2006 22:33:14 +0000
(22:33 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 18 Jul 2006 22:33:14 +0000
(22:33 +0000)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 523620bd403dd0c0b99dad61523f5b19c23f1b22..f8528dd96e5d0583e40217d940e749df539cf89d 100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-1996,11
+1996,11
@@
copytexsubimage_error_check( GLcontext *ctx, GLuint dimensions,
}
if (teximage->IsCompressed) {
- if (!_mesa_source_buffer_exists(ctx, teximage->_BaseFormat)) {
- _mesa_error(ctx, GL_INVALID_OPERATION,
- "glCopyTexSubImage%dD(missing readbuffer)", dimensions);
- return GL_TRUE;
- }
+
if (!_mesa_source_buffer_exists(ctx, teximage->_BaseFormat)) {
+
_mesa_error(ctx, GL_INVALID_OPERATION,
+
"glCopyTexSubImage%dD(missing readbuffer)", dimensions);
+
return GL_TRUE;
+
}
if (target != GL_TEXTURE_2D) {
_mesa_error(ctx, GL_INVALID_ENUM,