fix build error on x64

This commit is contained in:
Vadim Lopatin 2016-01-29 16:04:17 +03:00
parent 224448357c
commit 60a074e665
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ struct VertexFormat {
} }
/// returns vertex size in bytes /// returns vertex size in bytes
@property int vertexSize() const { @property int vertexSize() const {
return _vertexSize * float.sizeof; return _vertexSize * cast(int)float.sizeof;
} }
/// returns vertex size in floats /// returns vertex size in floats
@property int vertexFloats() const { @property int vertexFloats() const {