This commit is contained in:
Brian Paul
2004-02-04 23:36:00 +00:00
parent 36ff43b596
commit ef18e23bf8
3 changed files with 9 additions and 12 deletions
+3 -4
View File
@@ -1,9 +1,8 @@
/*
* Mesa 3-D graphics library
* Version: 4.1
* Version: 6.0.1
*
* Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -129,7 +128,7 @@ static void rescale_accum( GLcontext *ctx )
* Clear the accumulation Buffer.
*/
void
_swarst_clear_accum_buffer( GLcontext *ctx )
_swrast_clear_accum_buffer( GLcontext *ctx )
{
SWcontext *swrast = SWRAST_CONTEXT(ctx);
GLuint buffersize;
+3 -4
View File
@@ -1,9 +1,8 @@
/*
* Mesa 3-D graphics library
* Version: 4.0.2
* Version: 6.0.1
*
* Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -37,7 +36,7 @@ _swrast_alloc_accum_buffer( GLframebuffer *buffer );
extern void
_swarst_clear_accum_buffer( GLcontext *ctx );
_swrast_clear_accum_buffer( GLcontext *ctx );
#endif
+3 -4
View File
@@ -1,9 +1,8 @@
/*
* Mesa 3-D graphics library
* Version: 5.1
* Version: 6.0.1
*
* Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -190,7 +189,7 @@ _swrast_Clear( GLcontext *ctx, GLbitfield mask,
if (mask) {
if (mask & ctx->Color._DrawDestMask) clear_color_buffers(ctx);
if (mask & GL_DEPTH_BUFFER_BIT) _swrast_clear_depth_buffer(ctx);
if (mask & GL_ACCUM_BUFFER_BIT) _swarst_clear_accum_buffer(ctx);
if (mask & GL_ACCUM_BUFFER_BIT) _swrast_clear_accum_buffer(ctx);
if (mask & GL_STENCIL_BUFFER_BIT) _swrast_clear_stencil_buffer(ctx);
}