summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/swrast/s_bitmap.c')
-rw-r--r--src/mesa/swrast/s_bitmap.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/mesa/swrast/s_bitmap.c b/src/mesa/swrast/s_bitmap.c
index 3a77004520c..243219b75c4 100644
--- a/src/mesa/swrast/s_bitmap.c
+++ b/src/mesa/swrast/s_bitmap.c
@@ -1,21 +1,21 @@
-/* $Id: s_bitmap.c,v 1.5 2001/03/03 20:33:30 brianp Exp $ */
+/* $Id: s_bitmap.c,v 1.6 2001/03/12 00:48:41 gareth Exp $ */
/*
* Mesa 3-D graphics library
* Version: 3.5
- *
+ *
* Copyright (C) 1999-2001 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"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
- *
+ *
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
- *
+ *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
@@ -39,7 +39,7 @@
/*
* Render a bitmap.
*/
-void
+void
_swrast_Bitmap( GLcontext *ctx, GLint px, GLint py,
GLsizei width, GLsizei height,
const struct gl_pixelstore_attrib *unpack,
@@ -70,7 +70,7 @@ _swrast_Bitmap( GLcontext *ctx, GLint px, GLint py,
}
fragZ = (GLdepth) ( ctx->Current.RasterPos[2] * ctx->DepthMaxF);
-
+
_mesa_win_fog_coords_from_z( ctx, 1, &fragZ, &fogCoord );
for (row=0; row<height; row++) {
@@ -125,6 +125,3 @@ _swrast_Bitmap( GLcontext *ctx, GLint px, GLint py,
_mesa_flush_pb(ctx);
}
-
-
-