mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 03:39:54 +02:00
- attempt to speed up color picking
This commit is contained in:
@@ -251,7 +251,7 @@ public:
|
|||||||
BaseColorPickEntity();
|
BaseColorPickEntity();
|
||||||
virtual ~BaseColorPickEntity() {}
|
virtual ~BaseColorPickEntity() {}
|
||||||
|
|
||||||
static const int COLOR_COMPONENTS = 4;
|
static const int COLOR_COMPONENTS = 3;
|
||||||
|
|
||||||
struct ColorPickStruct {
|
struct ColorPickStruct {
|
||||||
unsigned char color[COLOR_COMPONENTS];
|
unsigned char color[COLOR_COMPONENTS];
|
||||||
|
Reference in New Issue
Block a user