From: Brian Paul Date: Tue, 20 Sep 2005 04:35:40 +0000 (+0000) Subject: remove unneeded sizeof(GLdepth) test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=000abaa12de276d757d59d65ca0d99574fc0f2a6;p=mesa.git remove unneeded sizeof(GLdepth) test --- diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c index 29356ca4b69..db3232b04f9 100644 --- a/src/mesa/swrast/s_drawpix.c +++ b/src/mesa/swrast/s_drawpix.c @@ -1,6 +1,6 @@ /* * Mesa 3-D graphics library - * Version: 6.3 + * Version: 6.5 * * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. * @@ -631,7 +631,6 @@ draw_depth_pixels( GLcontext *ctx, GLint x, GLint y, } } else if (type == GL_UNSIGNED_INT - && sizeof(GLdepth) == 4 && !bias_or_scale && !zoom && ctx->Visual.rgbMode