diff options
author | Rob Clark <robdclark@gmail.com> | 2017-03-27 11:17:53 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-03-27 11:19:16 -0400 |
commit | 4f4801b2b1f1aa00914f0c79fd3ab5ae8db2d284 (patch) | |
tree | 1374df73dc31d9190022003b946d8071fd66c8dc /cube-tex.c | |
parent | d874c78118549ce0a25e91eb09b292c3ce804906 (diff) | |
download | kmscube-4f4801b2b1f1aa00914f0c79fd3ab5ae8db2d284.tar.gz |
cube-tex: make a couple things static
(otherwise there will be symbol conflicts in the next patch.. also these
should be const)
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'cube-tex.c')
-rw-r--r-- | cube-tex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |