Changeset 2965 for trunk/src/opengl/mesa/3dfx/image.c
- Timestamp:
- Mar 1, 2000, 11:45:30 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/mesa/3dfx/image.c
r2938 r2965 1 /* $Id: image.c,v 1. 1 2000-02-29 00:46:18 sandervlExp $ */1 /* $Id: image.c,v 1.2 2000-03-01 22:45:23 jeroen Exp $ */ 2 2 3 3 /* … … 37 37 #include "GL/xf86glx.h" 38 38 #endif 39 #include "types.h" 39 40 #include "context.h" 40 41 #include "image.h" … … 42 43 #include "mmath.h" 43 44 #include "pixel.h" 44 #include "types.h"45 45 #endif 46 46 … … 57 57 b = (GLuint) p[i]; 58 58 a = ((b & 0x01) << 7) | 59 60 61 62 63 64 65 59 ((b & 0x02) << 5) | 60 ((b & 0x04) << 3) | 61 ((b & 0x08) << 1) | 62 ((b & 0x10) >> 1) | 63 ((b & 0x20) >> 3) | 64 ((b & 0x40) >> 5) | 65 ((b & 0x80) >> 7); 66 66 p[i] = (GLubyte) a; 67 67 }
Note:
See TracChangeset
for help on using the changeset viewer.