aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_glview.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-01-19 19:30:18 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-01-19 19:30:18 +0000
commitc7449e097b90303f43164e0de6c8a98f25319424 (patch)
tree1117aac9218fe301842093ba0c6ee4a8663c99d9 /src/bin/elementary/test_glview.c
parentEfl.Loop.Timer.interval is a constructor property (diff)
downloadefl-c7449e097b90303f43164e0de6c8a98f25319424.tar.gz
evas gl - fix patch that fixed warnings that then broke evas gl tests
even though it was reviewed... 8a617fda979d1522a880f3e57d2e1adfc9f20814 broke the evas gl tests. this fixes that.
Diffstat (limited to '')
-rw-r--r--src/bin/elementary/test_glview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/elementary/test_glview.c b/src/bin/elementary/test_glview.c
index 8df1fddc8d..2a42b95652 100644
--- a/src/bin/elementary/test_glview.c
+++ b/src/bin/elementary/test_glview.c
@@ -249,7 +249,7 @@ draw_gear(GLData *gld, Gear *gear, GLfloat *m,
gl->glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE,
6 * sizeof(GLfloat), NULL);
gl->glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE,
- 6 * sizeof(GLfloat), (GLfloat *)(0 + 3 * sizeof(GLfloat *)));
+ 6 * sizeof(GLfloat), (GLfloat *)(0 + 3 * sizeof(GLfloat)));
gl->glEnableVertexAttribArray(0);
gl->glEnableVertexAttribArray(1);
gl->glDrawArrays(GL_TRIANGLE_STRIP, 0, gear->count);