diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-12-13 00:46:21 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-12-13 00:46:21 +0000 |
commit | 062bc07bde9520d12c3cc051779d67a9543c0ff7 (patch) | |
tree | 56136cced70d284b7f14b57b3be752b80375bc43 /src/mesa/main/pixel.h | |
parent | 75639547e70f45b7782cf528b118a39b82b06ba3 (diff) |
improved precision of glReadPixels for colorbuffers < 24bpp
Diffstat (limited to 'src/mesa/main/pixel.h')
-rw-r--r-- | src/mesa/main/pixel.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/main/pixel.h b/src/mesa/main/pixel.h index db6dd78ffd..6698d8c13f 100644 --- a/src/mesa/main/pixel.h +++ b/src/mesa/main/pixel.h @@ -1,4 +1,4 @@ -/* $Id: pixel.h,v 1.8 2000/11/28 00:07:51 brianp Exp $ */ +/* $Id: pixel.h,v 1.9 2000/12/13 00:46:21 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -131,4 +131,9 @@ extern void _mesa_map_stencil(const GLcontext *ctx, GLuint n, GLstencil index[]); +extern void +_mesa_chan_to_float_span(const GLcontext *ctx, GLuint n, + CONST GLchan rgba[][4], GLfloat rgbaf[][4]); + + #endif |