projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97f6d50
)
mesa: remove register keyword, add const in _mesa_QueryMatrixxOES()
author
Brian Paul
<brianp@vmware.com>
Sat, 7 Mar 2015 20:15:22 +0000
(13:15 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 12 Mar 2015 13:52:45 +0000
(07:52 -0600)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/querymatrix.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/querymatrix.c
b/src/mesa/main/querymatrix.c
index
ca6b023
..
ccd5c5e
100644
(file)
--- a/
src/mesa/main/querymatrix.c
+++ b/
src/mesa/main/querymatrix.c
@@
-49,13
+49,12
@@
_mesa_QueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16])
* NaN or Inf). In case of error, everything is invalid.
*/
GLbitfield rv;
- register unsigned int i;
- unsigned int bit;
+ unsigned i, bit;
/* This data structure defines the mapping between the current matrix
* mode and the desired matrix identifier.
*/
- static struct {
+ static
const
struct {
GLenum currentMode;
GLenum desiredMatrix;
} modes[] = {