mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-08 15:39:55 +03:00
fix(gx): correct proj matrix shrink logic in gll backend
This commit is contained in:
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user