projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: fix texture border handling for cube arrays
[mesa.git]
/
src
/
mesa
/
main
/
clear.c
diff --git
a/src/mesa/main/clear.c
b/src/mesa/main/clear.c
index fd5bb35b95734a53b0c9c1a849e66a8be7aa2dd9..077c5fca3b75211a7071f8894db0273cd32ccbf7 100644
(file)
--- a/
src/mesa/main/clear.c
+++ b/
src/mesa/main/clear.c
@@
-278,7
+278,7
@@
make_color_buffer_mask(struct gl_context *ctx, GLint drawbuffer)
break;
default:
{
break;
default:
{
- GL
u
int buf = ctx->DrawBuffer->_ColorDrawBufferIndexes[drawbuffer];
+ GLint buf = ctx->DrawBuffer->_ColorDrawBufferIndexes[drawbuffer];
if (buf >= 0 && att[buf].Renderbuffer) {
mask |= 1 << buf;
if (buf >= 0 && att[buf].Renderbuffer) {
mask |= 1 << buf;