summaryrefslogtreecommitdiff
path: root/cube-tex.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2020-02-29 09:47:06 -0800
committerRob Clark <robdclark@chromium.org>2020-03-07 09:22:17 -0800
commit908ef39864442c0807954af5d3f88a3da1a6f8a5 (patch)
tree1df318330fedd9865380f5fd2b904a4f41ef1565 /cube-tex.c
parentb1852df7b4efc841431e83547e67f019d5c351d4 (diff)
downloadkmscube-908ef39864442c0807954af5d3f88a3da1a6f8a5.tar.gz
fix build error
/usr/bin/ld: kmscube@exe/cube-tex.c.o:/home/robclark/src/kmscube/debug/../cube-tex.c:47: multiple definition of `gl'; kmscube@exe/cube-smooth.c.o:/home/robclark/src/kmscube/debug/../cube-smooth.c:40: first defined here
Diffstat (limited to 'cube-tex.c')
-rw-r--r--cube-tex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cube-tex.c b/cube-tex.c
index 57fe02d..2714084 100644
--- a/cube-tex.c
+++ b/cube-tex.c
@@ -30,7 +30,7 @@
#include "common.h"
#include "esUtil.h"
-struct {
+static struct {
struct egl egl;
GLfloat aspect;