forked from bartvdbraak/blender
spack() is no longer used in the blender core, so I moved it to
this gameengine source file that depends on it.
This commit is contained in:
parent
da930194f9
commit
e0189e3a96
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user