diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-09-29 19:35:14 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-09-29 19:35:14 +0200 |
commit | 5a751d9c0da79b38d4104bbe0cc1b5feec3d6ecc (patch) | |
tree | 16a2632dd25115570dcd2c0e21e7b9d0a19c8161 /src/graphics/core/vertex.h | |
parent | 1fa7053ac0763721bd6dd2ad56b256ecc2643021 (diff) | |
download | colobot-5a751d9c0da79b38d4104bbe0cc1b5feec3d6ecc.tar.gz colobot-5a751d9c0da79b38d4104bbe0cc1b5feec3d6ecc.tar.bz2 colobot-5a751d9c0da79b38d4104bbe0cc1b5feec3d6ecc.zip |
Fixed texture regression
There was a bug in texture modesetting but only visible after certain
mode changes.
Diffstat (limited to 'src/graphics/core/vertex.h')
-rw-r--r-- | src/graphics/core/vertex.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/graphics/core/vertex.h b/src/graphics/core/vertex.h index fa6120f..2ee6be4 100644 --- a/src/graphics/core/vertex.h +++ b/src/graphics/core/vertex.h @@ -91,8 +91,7 @@ struct VertexCol Color color; explicit VertexCol(Math::Vector aCoord = Math::Vector(), - Color aColor = Color(), - Math::Point aTexCoord = Math::Point()) + Color aColor = Color()) : coord(aCoord), pad(0.0f), color(aColor) {} //! Returns a string "(c: [...], col: [...])" |