mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-18 02:52:47 +03:00
fix(gx): correct proj matrix shrink logic in gll backend
This commit is contained in:
parent
3b7978b84d
commit
c057fa1bac
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user