~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/blender/include/BIF_gl.h

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2007-05-17 11:47:59 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517114759-yp4ybrnhp2u7pk66
Tags: 2.44-1
* New upstream release.
* Drop debian/patches/01_64bits_stupidity, not needed anymore: as of this
  version blender is 64 bits safe again. Adjust README.Debian accordingly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * $Id: BIF_gl.h,v 1.9 2005/03/19 20:48:39 zuster Exp $
 
2
 * $Id: BIF_gl.h,v 1.10 2007/04/04 13:18:29 campbellbarton Exp $
3
3
 *
4
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5
5
 *
68
68
/* 
69
69
 *
70
70
 * This define converts a numerical value to the equivalent 24-bit
71
 
 * colour, while not being endian-sensitive. On little-endians, this
 
71
 * color, while not being endian-sensitive. On little-endians, this
72
72
 * is the same as doing a 'naive'indexing, on big-endian, it is not!
73
73
 * */
74
74
#define cpack(x)        glColor3ub( ((x)&0xFF), (((x)>>8)&0xFF), (((x)>>16)&0xFF) )