summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_zoom.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-08-23 21:40:21 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-08-23 21:40:21 +0000
commit4be6c0f04b9ba81dba144b45f92ab807e141755f (patch)
tree5721caa5db7cdbaa15544fdb9522236917b2c20f /src/mesa/swrast/s_zoom.h
parenta3a10e6dfc4eadcb8a11b884decdeee607dcf535 (diff)
glDrawPixels(GL_DEPTH_COMPONENT) with glPixelZoom didn't work
Diffstat (limited to 'src/mesa/swrast/s_zoom.h')
-rw-r--r--src/mesa/swrast/s_zoom.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/mesa/swrast/s_zoom.h b/src/mesa/swrast/s_zoom.h
index e410e9d261..aa9a891eb7 100644
--- a/src/mesa/swrast/s_zoom.h
+++ b/src/mesa/swrast/s_zoom.h
@@ -1,9 +1,8 @@
-
/*
* Mesa 3-D graphics library
* Version: 5.1
*
- * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2003 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"),
@@ -31,21 +30,25 @@
extern void
_swrast_write_zoomed_rgba_span( GLcontext *ctx, const struct sw_span *span,
- CONST GLchan rgb[][4], GLint y0,
- GLint skipPixels );
+ CONST GLchan rgb[][4], GLint y0,
+ GLint skipPixels );
extern void
_swrast_write_zoomed_rgb_span( GLcontext *ctx, const struct sw_span *span,
- CONST GLchan rgb[][3], GLint y0,
- GLint skipPixels );
+ CONST GLchan rgb[][3], GLint y0,
+ GLint skipPixels );
extern void
_swrast_write_zoomed_index_span( GLcontext *ctx, const struct sw_span *span,
- GLint y0, GLint skipPixels );
+ GLint y0, GLint skipPixels );
+
+extern void
+_swrast_write_zoomed_depth_span( GLcontext *ctx, const struct sw_span *span,
+ GLint y0, GLint skipPixels );
extern void
_swrast_write_zoomed_stencil_span( GLcontext *ctx, GLuint n, GLint x, GLint y,
- const GLstencil stencil[], GLint y0,
- GLint skipPixels );
+ const GLstencil stencil[], GLint y0,
+ GLint skipPixels );
#endif