mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
fix(gx): correct proj matrix shrink logic in gll backend
This commit is contained in:
parent
3b7978b84d
commit
c057fa1bac
1 changed files with 1 additions and 1 deletions
|
|
@ -1142,7 +1142,7 @@ void CGxDeviceGLL::ITexUpload(CGxTex* texId) {
|
||||||
void CGxDeviceGLL::IXformSetProjection(const C44Matrix& matrix) {
|
void CGxDeviceGLL::IXformSetProjection(const C44Matrix& matrix) {
|
||||||
C44Matrix gllMat = matrix;
|
C44Matrix gllMat = matrix;
|
||||||
|
|
||||||
if (!this->MasterEnable(GxMasterEnable_NormalProjection) && matrix.d0 != 1.0f) {
|
if (!this->MasterEnable(GxMasterEnable_NormalProjection) && matrix.d3 != 1.0f) {
|
||||||
C44Matrix shrink = {
|
C44Matrix shrink = {
|
||||||
0.2f, 0.0f, 0.0f, 0.0f,
|
0.2f, 0.0f, 0.0f, 0.0f,
|
||||||
0.0f, 0.2f, 0.0f, 0.0f,
|
0.0f, 0.2f, 0.0f, 0.0f,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue