summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-01-08 16:42:47 +0000
committerBrian Paul <[email protected]>2003-01-08 16:42:47 +0000
commit1e091f48f0434e8fb9713fbebc9d74ad68a75e34 (patch)
tree8a68798029604110b395746997cdc06c7ddcd1d2
parentfa268adc9df30c8e3413990ee0e68c139ca0c069 (diff)
fix typo in rotation code (bug 659677)
-rw-r--r--src/mesa/math/m_matrix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/math/m_matrix.c b/src/mesa/math/m_matrix.c
index 4b346860d61..f0692ba1154 100644
--- a/src/mesa/math/m_matrix.c
+++ b/src/mesa/math/m_matrix.c
@@ -1,10 +1,10 @@
-/* $Id: m_matrix.c,v 1.14 2002/10/24 23:57:24 brianp Exp $ */
+/* $Id: m_matrix.c,v 1.15 2003/01/08 16:42:47 brianp Exp $ */
/*
* Mesa 3-D graphics library
- * Version: 4.1
+ * Version: 5.1
*
- * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -594,7 +594,7 @@ _math_matrix_rotate( GLmatrix *mat,
/* rotate only around x-axis */
M(1,1) = c;
M(2,2) = c;
- if (y < 0.0F) {
+ if (x < 0.0F) {
M(1,2) = s;
M(2,1) = -s;
}