*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
things as necessary) OpenGL pretends everything is client-side, so
we need to pack things in the right order for the client machine.
*/
things as necessary) OpenGL pretends everything is client-side, so
we need to pack things in the right order for the client machine.
*/
if (bigendian())
rpos = 24, gpos = 16, bpos = 8, apos = 0;
else
if (bigendian())
rpos = 24, gpos = 16, bpos = 8, apos = 0;
else
rpos = 0, gpos = 8, bpos = 16, apos = 24;
fg = (((unsigned long) (texture_fg[0] * 255.0) << rpos) |
rpos = 0, gpos = 8, bpos = 16, apos = 24;
fg = (((unsigned long) (texture_fg[0] * 255.0) << rpos) |