diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-11 22:02:36 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-11 22:02:36 +0000 |
commit | 32a966dad9c5c6309adafcb58050cd0f70c32bde (patch) | |
tree | 28afa3dfae11d87fbc0e48f5a5f87cb5768bff8d /src/mesa/main/image.h | |
parent | 86f0e0b9cc5dd5a06f0571e864e513e82aab3e80 (diff) |
Added _mesa_convert_colors().
_mesa_clip_drawpixels() now handles Pixel.ZoomY==-1.
Diffstat (limited to 'src/mesa/main/image.h')
-rw-r--r-- | src/mesa/main/image.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/main/image.h b/src/mesa/main/image.h index 84faa03255..50b79f721e 100644 --- a/src/mesa/main/image.h +++ b/src/mesa/main/image.h @@ -1,6 +1,6 @@ /* * Mesa 3-D graphics library - * Version: 6.5 + * Version: 6.5.2 * * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. * @@ -203,6 +203,12 @@ _mesa_unpack_image( GLuint dimensions, const struct gl_pixelstore_attrib *unpack ); +extern void +_mesa_convert_colors(GLenum srcType, const GLvoid *src, + GLenum dstType, GLvoid *dst, + GLuint count, const GLubyte mask[]); + + extern GLboolean _mesa_clip_drawpixels(const GLcontext *ctx, GLint *destX, GLint *destY, |