diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-07-23 21:41:27 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-07-23 21:41:27 +0200 |
commit | 9d592045317ca66be415e60ba4c2db90b5d7ad3e (patch) | |
tree | 921dd92c63b6260ea27d70eb7521e3a054d7f142 /src/graphics/opengl/gldevice.h | |
parent | 8797569d33c4917eb8f8a1dc2341aac7b5815315 (diff) | |
download | colobot-9d592045317ca66be415e60ba4c2db90b5d7ad3e.tar.gz colobot-9d592045317ca66be415e60ba4c2db90b5d7ad3e.tar.bz2 colobot-9d592045317ca66be415e60ba4c2db90b5d7ad3e.zip |
Cursor drawing
- fixed cursor drawing in CEngine
- changed event loop to generate more events
Diffstat (limited to 'src/graphics/opengl/gldevice.h')
-rw-r--r-- | src/graphics/opengl/gldevice.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/graphics/opengl/gldevice.h b/src/graphics/opengl/gldevice.h index 792ea4b..b6bfc6d 100644 --- a/src/graphics/opengl/gldevice.h +++ b/src/graphics/opengl/gldevice.h @@ -113,9 +113,9 @@ public: virtual void SetTextureFactor(const Gfx::Color &color); virtual Gfx::Color GetTextureFactor(); - virtual void DrawPrimitive(Gfx::PrimitiveType type, Vertex *vertices, int vertexCount); - virtual void DrawPrimitive(Gfx::PrimitiveType type, Gfx::VertexCol *vertices, int vertexCount); - virtual void DrawPrimitive(Gfx::PrimitiveType type, VertexTex2 *vertices, int vertexCount); + virtual void DrawPrimitive(Gfx::PrimitiveType type, const Gfx::Vertex *vertices, int vertexCount); + virtual void DrawPrimitive(Gfx::PrimitiveType type, const Gfx::VertexCol *vertices, int vertexCount); + virtual void DrawPrimitive(Gfx::PrimitiveType type, const Gfx::VertexTex2 *vertices, int vertexCount); virtual int ComputeSphereVisibility(const Math::Vector ¢er, float radius); |