summaryrefslogtreecommitdiff
path: root/cube-tex.c
diff options
context:
space:
mode:
Diffstat (limited to 'cube-tex.c')
-rw-r--r--cube-tex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cube-tex.c b/cube-tex.c
index 0caeaea..427da75 100644
--- a/cube-tex.c
+++ b/cube-tex.c
@@ -46,7 +46,7 @@ struct {
GLuint tex[2];
} gl;
-const struct egl *egl = &gl.egl;
+static const struct egl *egl = &gl.egl;
static const GLfloat vVertices[] = {
// front
@@ -81,7 +81,7 @@ static const GLfloat vVertices[] = {
+1.0f, -1.0f, +1.0f,
};
-GLfloat vTexCoords[] = {
+static const GLfloat vTexCoords[] = {
//front
1.0f, 1.0f,
0.0f, 1.0f,