mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 08:43:38 +01:00
thin3d: Use floats directly for 4x4 matrices.
This commit is contained in:
1 parent
05fee24ccf
commit
f84ebdc3e4
5 files changed
+17
-34
No files matched your search
@@ -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_);
|
||||
|
||||
Reference in new issue
Block a user