fix(gx): correct proj matrix shrink logic in gll backend

This commit is contained in:
fallenoak 2023-03-13 01:21:34 -05:00
parent 3b7978b84d
commit c057fa1bac
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -1142,7 +1142,7 @@ void CGxDeviceGLL::ITexUpload(CGxTex* texId) {
void CGxDeviceGLL::IXformSetProjection(const C44Matrix& matrix) {
C44Matrix gllMat = matrix;
if (!this->MasterEnable(GxMasterEnable_NormalProjection) && matrix.d0 != 1.0f) {
if (!this->MasterEnable(GxMasterEnable_NormalProjection) && matrix.d3 != 1.0f) {
C44Matrix shrink = {
0.2f, 0.0f, 0.0f, 0.0f,
0.0f, 0.2f, 0.0f, 0.0f,