summaryrefslogtreecommitdiff
path: root/src/mesa/main/drawpix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/drawpix.h')
-rw-r--r--src/mesa/main/drawpix.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/main/drawpix.h b/src/mesa/main/drawpix.h
index 40da8dfb2c..3a0fd57bc1 100644
--- a/src/mesa/main/drawpix.h
+++ b/src/mesa/main/drawpix.h
@@ -1,4 +1,4 @@
-/* $Id: drawpix.h,v 1.2 1999/11/11 01:22:26 brianp Exp $ */
+/* $Id: drawpix.h,v 1.3 1999/11/22 22:21:38 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -32,6 +32,13 @@
#include "types.h"
+extern GLboolean
+_mesa_clip_pixelrect(const GLcontext *ctx,
+ GLint *destX, GLint *destY,
+ GLsizei *width, GLsizei *height,
+ GLint *skipPixels, GLint *skipRows);
+
+
extern void
_mesa_DrawPixels( GLsizei width, GLsizei height,
GLenum format, GLenum type, const GLvoid *pixels );