projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace color table FloatTable boolean with Type enum
[mesa.git]
/
src
/
mesa
/
main
/
image.c
diff --git
a/src/mesa/main/image.c
b/src/mesa/main/image.c
index 955f14f6b1812770a49e29b7d498d6e7534a3916..648ad8fe34bc4d4145f22b1244dc7aa64a7007a9 100644
(file)
--- a/
src/mesa/main/image.c
+++ b/
src/mesa/main/image.c
@@
-3809,7
+3809,7
@@
_mesa_pack_stencil_span( const GLcontext *ctx, GLuint n,
GLhalfNV *dst = (GLhalfNV *) dest;
GLuint i;
for (i=0;i<n;i++) {
- dst[i] = _mesa_
half_to_float(source[i]
);
+ dst[i] = _mesa_
float_to_half( (float) source[i]
);
}
if (dstPacking->SwapBytes) {
_mesa_swap2( (GLushort *) dst, n );