mirror of https://github.com/buggins/dlangui.git
fix build error on x64
This commit is contained in:
parent
224448357c
commit
60a074e665
|
@ -70,7 +70,7 @@ struct VertexFormat {
|
|||
}
|
||||
/// returns vertex size in bytes
|
||||
@property int vertexSize() const {
|
||||
return _vertexSize * float.sizeof;
|
||||
return _vertexSize * cast(int)float.sizeof;
|
||||
}
|
||||
/// returns vertex size in floats
|
||||
@property int vertexFloats() const {
|
||||
|
|
Loading…
Reference in New Issue