ecere/gfx/3D/Matrix: Fixed non Android GLES issues due to incomplete matrix multiplic...
authorJerome St-Louis <jerome@ecere.com>
Fri, 26 Jun 2015 23:29:06 +0000 (19:29 -0400)
committerJerome St-Louis <jerome@ecere.com>
Tue, 22 Dec 2015 06:45:17 +0000 (01:45 -0500)
ecere/src/gfx/3D/Matrix.ec

index de0c050..a36720b 100644 (file)
@@ -45,7 +45,7 @@ public union Matrix
 
    void Multiply(Matrix a, Matrix b)
    {
-#ifdef __ANDROID__
+#if 1
       // We need a full matrix multiplication for the Projection matrix
       m[0][0]=a.m[0][0]*b.m[0][0] + a.m[0][1]*b.m[1][0] + a.m[0][2]*b.m[2][0] + a.m[0][3]*b.m[3][0];
       m[0][1]=a.m[0][0]*b.m[0][1] + a.m[0][1]*b.m[1][1] + a.m[0][2]*b.m[2][1] + a.m[0][3]*b.m[3][1];