- static GLfloat pos[4] =
- {5.0, 5.0, 10.0, 1.0};
- static GLfloat red[4] =
- {0.8, 0.1, 0.0, 1.0};
- static GLfloat green[4] =
- {0.0, 0.8, 0.2, 1.0};
- static GLfloat blue[4] =
- {0.2, 0.2, 1.0, 1.0};
- static GLfloat gray[4] =
- {0.5, 0.5, 0.5, 1.0};
- static GLfloat white[4] =
- {1.0, 1.0, 1.0, 1.0};
+ static const GLfloat pos[4] = {5.0, 5.0, 10.0, 1.0};
+ static const GLfloat red[4] = {0.8, 0.1, 0.0, 1.0};
+ static const GLfloat green[4] = {0.0, 0.8, 0.2, 1.0};
+ static const GLfloat blue[4] = {0.2, 0.2, 1.0, 1.0};
+ static const GLfloat gray[4] = {0.5, 0.5, 0.5, 1.0};
+ static const GLfloat white[4] = {1.0, 1.0, 1.0, 1.0};