raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c7449e097b90303f43164e0de6c8a98f25319424

commit c7449e097b90303f43164e0de6c8a98f25319424
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Sat Jan 19 19:30:18 2019 +0000

    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.
---
 src/bin/elementary/test_glview.c           | 2 +-
 src/bin/elementary/test_glview_manygears.c | 2 +-
 2 files changed, 2 insertions(+), 2 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);
diff --git a/src/bin/elementary/test_glview_manygears.c 
b/src/bin/elementary/test_glview_manygears.c
index 6161341325..97e9e88050 100644
--- a/src/bin/elementary/test_glview_manygears.c
+++ b/src/bin/elementary/test_glview_manygears.c
@@ -461,7 +461,7 @@ draw_gear(GLData *gld, Gear *gear, GLfloat *transform,
 
    // Set up the position of the attributes in the vertex buffer object
    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 *)));
+   gl->glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 6 * sizeof(GLfloat), 
(GLfloat *)(0 + 3 * sizeof(GLfloat)));
 
    // Enable the attributes
    gl->glEnableVertexAttribArray(0);

-- 


Reply via email to