summaryrefslogtreecommitdiffstats
path: root/src/graphics/opengl/gldevice.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-07-23 21:41:27 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-07-23 21:41:27 +0200
commit9d592045317ca66be415e60ba4c2db90b5d7ad3e (patch)
tree921dd92c63b6260ea27d70eb7521e3a054d7f142 /src/graphics/opengl/gldevice.h
parent8797569d33c4917eb8f8a1dc2341aac7b5815315 (diff)
downloadcolobot-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.h6
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 &center, float radius);