Skip to content

Commit ca71aa6

Browse files
committed
latest changes
1 parent 026b0e2 commit ca71aa6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/modules/mp/fixed_function.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,8 +667,8 @@ namespace components::mp
667667
dev->SetPixelShader(nullptr);
668668

669669
const auto saved_x = src->matrices.matrix[0].m[3][0];
670-
const auto saved_y = src->matrices.matrix[0].m[3][0];
671-
const auto saved_z = src->matrices.matrix[0].m[3][0];
670+
const auto saved_y = src->matrices.matrix[0].m[3][1];
671+
const auto saved_z = src->matrices.matrix[0].m[3][2];
672672

673673
// #
674674
// draw prims

src/components/modules/sp/fixed_function.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ namespace components::sp
587587
state->prim.device->SetFVF(NULL);
588588
//state->prim.device->SetVertexShader(og_vertex_shader);
589589
//state->prim.device->SetPixelShader(og_pixel_shader);
590-
state->prim.device->SetTransform(D3DTS_WORLD, reinterpret_cast<D3DMATRIX*>(&src->matrices.matrix[0].m));
590+
//state->prim.device->SetTransform(D3DTS_WORLD, reinterpret_cast<D3DMATRIX*>(&src->matrices.matrix[0].m));
591591
}
592592
}
593593

@@ -681,8 +681,8 @@ namespace components::sp
681681
dev->SetPixelShader(nullptr);
682682

683683
const auto saved_x = src->matrices.matrix[0].m[3][0];
684-
const auto saved_y = src->matrices.matrix[0].m[3][0];
685-
const auto saved_z = src->matrices.matrix[0].m[3][0];
684+
const auto saved_y = src->matrices.matrix[0].m[3][1];
685+
const auto saved_z = src->matrices.matrix[0].m[3][2];
686686

687687
// #
688688
// draw prims

0 commit comments

Comments
 (0)