diff options
author | Chris Want <cwant@ualberta.ca> | 2005-08-18 20:48:10 +0400 |
---|---|---|
committer | Chris Want <cwant@ualberta.ca> | 2005-08-18 20:48:10 +0400 |
commit | e0189e3a9681ed60399b9cab12adb9e1899b7c6a (patch) | |
tree | e5ab6429f6e1700f812b836f78417e09abfc2c6d /source/gameengine/BlenderRoutines/KX_BlenderGL.cpp | |
parent | da930194f9ffbc15cf49571d9fea6c15cabede50 (diff) |
spack() is no longer used in the blender core, so I moved it to
this gameengine source file that depends on it.
Diffstat (limited to 'source/gameengine/BlenderRoutines/KX_BlenderGL.cpp')
-rw-r--r-- | source/gameengine/BlenderRoutines/KX_BlenderGL.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp b/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp index 6d77d76a0da..50751be7c7d 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp +++ b/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp @@ -81,6 +81,13 @@ extern "C" { #include <GL/gl.h> #endif +/* was in drawmesh.c */ +void spack(unsigned int ucol) +{ + char *cp= (char *)&ucol; + + glColor3ub(cp[3], cp[2], cp[1]); +} void BL_warp_pointer(int x,int y) { |