thin3d: Use floats directly for 4x4 matrices.

This commit is contained in:
Unknown W. Brackets committed 2016-02-13 14:50:06 -08:00
1 parent 05fee24ccf
commit f84ebdc3e4
5 files changed
+17 -34

No files matched your search

+1 -1
View File
@@ -80,7 +80,7 @@ void DrawBuffer::Flush(bool set_blend_state) {
if (count_ == 0)
return;
shaderSet_->SetMatrix4x4("WorldViewProj", drawMatrix_);
shaderSet_->SetMatrix4x4("WorldViewProj", drawMatrix_.getReadPtr());
if (vbuf_) {
vbuf_->SubData((const uint8_t *)verts_, 0, sizeof(Vertex) * count_);