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/common/device.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/common/device.h')
-rw-r--r-- | src/graphics/common/device.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/graphics/common/device.h b/src/graphics/common/device.h index d79d253..410596d 100644 --- a/src/graphics/common/device.h +++ b/src/graphics/common/device.h @@ -337,11 +337,11 @@ public: virtual Gfx::Color GetTextureFactor() = 0; //! Renders primitive composed of vertices with single texture - virtual void DrawPrimitive(Gfx::PrimitiveType type, Gfx::Vertex *vertices, int vertexCount) = 0; + virtual void DrawPrimitive(Gfx::PrimitiveType type, const Gfx::Vertex *vertices , int vertexCount) = 0; //! Renders primitive composed of vertices with color information and single texture - virtual void DrawPrimitive(Gfx::PrimitiveType type, Gfx::VertexCol *vertices, int vertexCount) = 0; + virtual void DrawPrimitive(Gfx::PrimitiveType type, const Gfx::VertexCol *vertices , int vertexCount) = 0; //! Renders primitive composed of vertices with multitexturing (2 textures) - virtual void DrawPrimitive(Gfx::PrimitiveType type, Gfx::VertexTex2 *vertices, int vertexCount) = 0; + virtual void DrawPrimitive(Gfx::PrimitiveType type, const Gfx::VertexTex2 *vertices, int vertexCount) = 0; //! Tests whether a sphere intersects the 6 clipping planes of projection volume virtual int ComputeSphereVisibility(const Math::Vector ¢er, float radius) = 0; |