diff options
author | pixel <pixel> | 2003-03-28 12:30:26 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-03-28 12:30:26 +0000 |
commit | 541c00c93fcd98f766cce661aa83ef4ffe713e57 (patch) | |
tree | 2300eff5c56164578988d4f4d57147c60657c7ad /lib/glcolor.cc | |
parent | be0486797260377246c1ea1229cca27c19c64ad2 (diff) |
First part of the backend separation
Diffstat (limited to 'lib/glcolor.cc')
-rw-r--r-- | lib/glcolor.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/glcolor.cc b/lib/glcolor.cc deleted file mode 100644 index c38b4e5..0000000 --- a/lib/glcolor.cc +++ /dev/null @@ -1,13 +0,0 @@ -#include <SDL_opengl.h> -#include "glcolor.h" - -mogltk::glColorP::glColorP(const Color & ac) : ColorP(ac) { -} - -mogltk::glColorP::glColorP(Uint8 ar, Uint8 ag, Uint8 ab, Uint8 aa) : ColorP(ar, ag, ab, aa) { -} - -void mogltk::glColorP::Bind() { - glColor4d((double) MIN(MAX(c.R, Min.R), Max.R) / 255, (double) MIN(MAX(c.G, Min.G), Max.G) / 255, (double) MIN(MAX(c.B, Min.B), Max.B) / 255, (double) MIN(MAX(c.A, Min.A), Max.A) / 255); -} - |