diff options
author | Vinson Lee <vlee@vmware.com> | 2010-05-01 15:07:45 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-05-01 15:07:45 -0700 |
commit | 33c34c0806908e7176cb415025c641574543b554 (patch) | |
tree | aafe70d9541dc88ffa97ad69d242a0f665b0ded2 | |
parent | cd502e5f5cb85e5bd464a7d2af920a61068a8399 (diff) |
progs/tests: Remove meaningless const qualifiers.
-rw-r--r-- | progs/tests/blendminmax.c | 2 | ||||
-rw-r--r-- | progs/tests/blendsquare.c | 2 | ||||
-rw-r--r-- | progs/tests/bug_3101.c | 2 | ||||
-rw-r--r-- | progs/tests/bug_3195.c | 2 | ||||
-rw-r--r-- | progs/tests/crossbar.c | 2 | ||||
-rw-r--r-- | progs/tests/interleave.c | 2 | ||||
-rw-r--r-- | progs/tests/invert.c | 2 | ||||
-rw-r--r-- | progs/tests/prog_parameter.c | 2 | ||||
-rw-r--r-- | progs/tests/stencil_twoside.c | 2 | ||||
-rw-r--r-- | progs/tests/stencil_wrap.c | 2 | ||||
-rw-r--r-- | progs/tests/vao-01.c | 2 | ||||
-rw-r--r-- | progs/tests/vao-02.c | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/progs/tests/blendminmax.c b/progs/tests/blendminmax.c index 7297f41b78..b33839cc87 100644 --- a/progs/tests/blendminmax.c +++ b/progs/tests/blendminmax.c @@ -178,7 +178,7 @@ static void Key( unsigned char key, int x, int y ) static void Init( void ) { - const char * const ver_string = (const char * const) + const char * const ver_string = (const char *) glGetString( GL_VERSION ); printf("GL_RENDERER = %s\n", (char *) glGetString(GL_RENDERER)); diff --git a/progs/tests/blendsquare.c b/progs/tests/blendsquare.c index 3ee3ae2230..07806fc758 100644 --- a/progs/tests/blendsquare.c +++ b/progs/tests/blendsquare.c @@ -142,7 +142,7 @@ static void Key( unsigned char key, int x, int y ) static void Init( void ) { - const char * const ver_string = (const char * const) + const char * const ver_string = (const char *) glGetString( GL_VERSION ); const double version = strtod( ver_string, NULL ); diff --git a/progs/tests/bug_3101.c b/progs/tests/bug_3101.c index 06a9776155..796377186b 100644 --- a/progs/tests/bug_3101.c +++ b/progs/tests/bug_3101.c @@ -100,7 +100,7 @@ static void Key( unsigned char key, int x, int y ) static void Init( void ) { - const char * const ver_string = (const char * const) + const char * const ver_string = (const char *) glGetString( GL_VERSION ); printf("GL_RENDERER = %s\n", (char *) glGetString(GL_RENDERER)); diff --git a/progs/tests/bug_3195.c b/progs/tests/bug_3195.c index 3574c1f717..10481c2232 100644 --- a/progs/tests/bug_3195.c +++ b/progs/tests/bug_3195.c @@ -176,7 +176,7 @@ static void SpecialKey( int key, int x, int y ) static void Init( void ) { GLfloat maxBias; - const char * const ver_string = (const char * const) + const char * const ver_string = (const char *) glGetString( GL_VERSION ); printf("GL_RENDERER = %s\n", (char *) glGetString(GL_RENDERER)); diff --git a/progs/tests/crossbar.c b/progs/tests/crossbar.c index 2988e20920..ac9a8eae3b 100644 --- a/progs/tests/crossbar.c +++ b/progs/tests/crossbar.c @@ -143,7 +143,7 @@ static void Key( unsigned char key, int x, int y ) static void Init( void ) { - const char * const ver_string = (const char * const) + const char * const ver_string = (const char *) glGetString( GL_VERSION ); float ver = strtod( ver_string, NULL ); GLint tex_units; diff --git a/progs/tests/interleave.c b/progs/tests/interleave.c index acf67d02c1..c60ddde1f1 100644 --- a/progs/tests/interleave.c +++ b/progs/tests/interleave.c @@ -352,7 +352,7 @@ static void ModeMenu( int entry ) static void Init( void ) { - const char * const ver_string = (const char * const) + const char * const ver_string = (const char *) glGetString( GL_VERSION ); const GLubyte tex[16] = { 0xff, 0x00, 0xff, 0x00, diff --git a/progs/tests/invert.c b/progs/tests/invert.c index 45001b44d0..be55472656 100644 --- a/progs/tests/invert.c +++ b/progs/tests/invert.c @@ -126,7 +126,7 @@ static void Key( unsigned char key, int x, int y ) static void Init( void ) { - const char * const ver_string = (const char * const) + const char * const ver_string = (const char *) glGetString( GL_VERSION ); const float ver = strtod( ver_string, NULL ); diff --git a/progs/tests/prog_parameter.c b/progs/tests/prog_parameter.c index 2de7e2994a..e38c68904d 100644 --- a/progs/tests/prog_parameter.c +++ b/progs/tests/prog_parameter.c @@ -186,7 +186,7 @@ static int set_parameter_batch( GLsizei count, GLfloat * param, static void Init( void ) { - const char * const ver_string = (const char * const) + const char * const ver_string = (const char *) glGetString( GL_VERSION ); int pass = 1; GLfloat * params; diff --git a/progs/tests/stencil_twoside.c b/progs/tests/stencil_twoside.c index 1010139a20..dec620023f 100644 --- a/progs/tests/stencil_twoside.c +++ b/progs/tests/stencil_twoside.c @@ -311,7 +311,7 @@ static void Key( unsigned char key, int x, int y ) static void Init( void ) { - const char * const ver_string = (const char * const) + const char * const ver_string = (const char *) glGetString( GL_VERSION ); printf("GL_RENDERER = %s\n", (char *) glGetString(GL_RENDERER)); diff --git a/progs/tests/stencil_wrap.c b/progs/tests/stencil_wrap.c index 28307fef4f..2bafd3204f 100644 --- a/progs/tests/stencil_wrap.c +++ b/progs/tests/stencil_wrap.c @@ -225,7 +225,7 @@ static void Key( unsigned char key, int x, int y ) static void Init( void ) { - const char * const ver_string = (const char * const) + const char * const ver_string = (const char *) glGetString( GL_VERSION ); printf("GL_RENDERER = %s\n", (char *) glGetString(GL_RENDERER)); diff --git a/progs/tests/vao-01.c b/progs/tests/vao-01.c index ee528d2243..bacae70bb5 100644 --- a/progs/tests/vao-01.c +++ b/progs/tests/vao-01.c @@ -109,7 +109,7 @@ static void Key( unsigned char key, int x, int y ) static void Init( void ) { - const char * const ver_string = (const char * const) + const char * const ver_string = (const char *) glGetString( GL_VERSION ); GLuint obj; int pass = 1; diff --git a/progs/tests/vao-02.c b/progs/tests/vao-02.c index c23b4ab05a..d085541876 100644 --- a/progs/tests/vao-02.c +++ b/progs/tests/vao-02.c @@ -109,7 +109,7 @@ static void Key( unsigned char key, int x, int y ) static void Init( void ) { - const char * const ver_string = (const char * const) + const char * const ver_string = (const char *) glGetString( GL_VERSION ); GLuint obj; int pass = 1; |