summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-04-07 00:30:02 +0000
committerBrian Paul <[email protected]>2000-04-07 00:30:02 +0000
commit4e0445550d6cdb0f2045507c1f63219a8a0b8d4c (patch)
treefc312775786b4cdbfb500ca9b99da2cda68e301c /src/mesa/drivers
parent15724afd62a1466d616ac6ca4d292c46c6f86648 (diff)
silenced a warning
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/glide/fxdd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c
index 58310cfb33f..747412f130b 100644
--- a/src/mesa/drivers/glide/fxdd.c
+++ b/src/mesa/drivers/glide/fxdd.c
@@ -535,7 +535,7 @@ static GLboolean fxDDReadPixels( GLcontext *ctx, GLint x, GLint y,
else {
fxMesaContext fxMesa=(fxMesaContext)ctx->DriverCtx;
GrLfbInfo_t info;
- GLboolean result;
+ GLboolean result = GL_FALSE;
BEGIN_BOARD_LOCK();
if (grLfbLock(GR_LFB_READ_ONLY,
@@ -637,7 +637,6 @@ static GLboolean fxDDReadPixels( GLcontext *ctx, GLint x, GLint y,
grLfbUnlock(GR_LFB_READ_ONLY, fxMesa->currentFB);
}
END_BOARD_LOCK();
-
return result;
}
}