transformIsIdentity() now doesn't accept a zero matrix as the identity.
Added a non-zero test for one of the diagonal values.
This commit is contained in:
		
							parent
							
								
									fc30370d14
								
							
						
					
					
						commit
						594d4019c6
					
				|  | @ -1464,6 +1464,7 @@ transformIsIdentity(PictTransform *t) | |||
| { | ||||
|     return ((t->matrix[0][0] == t->matrix[1][1]) && | ||||
|             (t->matrix[0][0] == t->matrix[2][2]) && | ||||
|             (t->matrix[0][0] != 0) && | ||||
|             (t->matrix[0][1] == 0) && | ||||
|             (t->matrix[0][2] == 0) && | ||||
|             (t->matrix[1][0] == 0) && | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue