remove unneeded sizeof(GLdepth) test
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 20 Sep 2005 04:35:40 +0000 (04:35 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 20 Sep 2005 04:35:40 +0000 (04:35 +0000)
src/mesa/swrast/s_drawpix.c

index 29356ca..db3232b 100644 (file)
@@ -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