summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpixel <pixel>2002-12-21 12:36:36 +0000
committerpixel <pixel>2002-12-21 12:36:36 +0000
commitc1271b904b730dbf427366d9aa6388037931ba84 (patch)
tree1388116d2dcee4cf6c9d7b5cdb41114036f02625 /include
parent5215101178a0d7e444a2221d0024c941e10822cb (diff)
Bleh
Diffstat (limited to 'include')
-rw-r--r--include/Color.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Color.h b/include/Color.h
index d9388a2..06390ff 100644
--- a/include/Color.h
+++ b/include/Color.h
@@ -4,6 +4,7 @@
struct Color {
Color(unsigned char aR, unsigned char aG, unsigned char aB, unsigned char aA = 255) :
R(aR), G(aG), B(aB), A(aA) { }
+ Color(const Color & c) : R(c.R), G(c.G), B(c.B), A(c.A) { }
unsigned char R, G, B, A;
#ifdef GL_COLOR
void Bind() { glColor4d((double) R / 255, (double) G / 255, (double) B / 255, (double) A / 255); }