summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/glwrapper.h
diff options
context:
space:
mode:
authorEnne Walker <enne.walker@gmail.com>2010-05-10 22:17:12 -0400
committerEnne Walker <enne.walker@gmail.com>2010-05-14 18:18:53 -0400
commit53d2a4b791ded9b8818c507b749c33848288fd56 (patch)
tree83536471caf7f3865401ced5ac1efcf70aa4b375 /crawl-ref/source/glwrapper.h
parent5f37332d3f99cae46f5a84ebb5b4af1a644ee774 (diff)
downloadcrawl-ref-53d2a4b791ded9b8818c507b749c33848288fd56.tar.gz
crawl-ref-53d2a4b791ded9b8818c507b749c33848288fd56.zip
Remove unused GL_V4F vertex format.
Diffstat (limited to 'crawl-ref/source/glwrapper.h')
-rw-r--r--crawl-ref/source/glwrapper.h29
1 files changed, 1 insertions, 28 deletions
diff --git a/crawl-ref/source/glwrapper.h b/crawl-ref/source/glwrapper.h
index 4792f00087..10b506c6d0 100644
--- a/crawl-ref/source/glwrapper.h
+++ b/crawl-ref/source/glwrapper.h
@@ -79,33 +79,6 @@ struct GLW_3VF
union {float z; float b;};
};
-struct GLW_4VF
-{
- GLW_4VF() {};
- GLW_4VF(float l, float m, float n, float p) : x(l), y(m), z(n), t(p) {}
-
- inline void set(float l, float m, float n, float p)
- {
- x = l;
- y = m;
- z = n;
- t = p;
- }
-
- inline void set(const GLW_4VF &in)
- {
- x = in.x;
- y = in.y;
- z = in.z;
- t = in.t;
- }
-
- union {float x; float r; };
- union {float y; float g; };
- union {float z; float b; float u; float s; };
- union {float t; float a; float v; };
-};
-
enum MipMapOptions
{
MIPMAP_CREATE,
@@ -206,7 +179,7 @@ public:
const GLW_3VF *scale = NULL) = 0;
virtual void reset_transform() = 0;
virtual void set_current_color(GLW_3VF &color) = 0;
- virtual void set_current_color(GLW_4VF &color) = 0;
+ virtual void set_current_color(VColour &color) = 0;
// Texture-specific functinos
virtual void delete_textures(size_t count, unsigned int *textures) = 0;