Mesa (master): mesa: remove register keyword, add const in _mesa_QueryMatrixxOES()
Brian Paul
brianp at kemper.freedesktop.org
Thu Mar 12 14:15:26 UTC 2015
Module: Mesa
Branch: master
Commit: c3984c1155bc78b45001f90ed1333bbacfc32151
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3984c1155bc78b45001f90ed1333bbacfc32151
Author: Brian Paul <brianp at vmware.com>
Date: Sat Mar 7 13:15:22 2015 -0700
mesa: remove register keyword, add const in _mesa_QueryMatrixxOES()
Reviewed-by: Matt Turner <mattst88 at gmail.com>
---
src/mesa/main/querymatrix.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/querymatrix.c
index ca6b023..ccd5c5e 100644
--- 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[] = {
More information about the mesa-commit
mailing list