diff options
Diffstat (limited to 'opengl/tests/filter/filter.cpp')
-rw-r--r-- | opengl/tests/filter/filter.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/opengl/tests/filter/filter.cpp b/opengl/tests/filter/filter.cpp index 289e6cc58..287ee9356 100644 --- a/opengl/tests/filter/filter.cpp +++ b/opengl/tests/filter/filter.cpp @@ -140,11 +140,12 @@ int main(int argc, char** argv) //glDrawTexiOES(0, 0, 0, dim, dim); + const GLfloat fdim = dim; const GLfloat vertices[4][2] = { - { 0, 0 }, - { 0, dim }, - { dim, dim }, - { dim, 0 } + { 0, 0 }, + { 0, fdim }, + { fdim, fdim }, + { fdim, 0 } }; const GLfloat texCoords[4][2] = { |