summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/drawpix.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-11-22 22:21:38 +0000
committerBrian Paul <[email protected]>1999-11-22 22:21:38 +0000
commit4e176ff358956b773ec486a220cc21971ed97495 (patch)
tree02c41e423f33c7e8592ce5aa3df50bec8f9b76cd /src/mesa/main/drawpix.h
parent78fc78e0f68a20ae90f3d4aaf361751a9185a0b9 (diff)
added _mesa_clip_pixelrect()
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 40da8dfb2c8..3a0fd57bc17 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 );