summaryrefslogtreecommitdiff
path: root/tests/glbook
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-27 20:30:32 -0500
committerAlon Zakai <alonzakai@gmail.com>2013-02-27 20:31:08 -0500
commit8da0914d013d9c05d37332a4fd4b95bed016db94 (patch)
treee480d8e17c5dc39c9ca2dc12ea2c637f89d9ee4a /tests/glbook
parent985f71322dd35a187a0103e2de36facf63138adc (diff)
add preparations for gles2 emulation tests
Diffstat (limited to 'tests/glbook')
-rw-r--r--tests/glbook/Chapter_2/Hello_Triangle/Hello_Triangle_orig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/glbook/Chapter_2/Hello_Triangle/Hello_Triangle_orig.c b/tests/glbook/Chapter_2/Hello_Triangle/Hello_Triangle_orig.c
index fd4c506a..cc25a559 100644
--- a/tests/glbook/Chapter_2/Hello_Triangle/Hello_Triangle_orig.c
+++ b/tests/glbook/Chapter_2/Hello_Triangle/Hello_Triangle_orig.c
@@ -171,7 +171,7 @@ void Draw ( ESContext *esContext )
glVertexAttribPointer ( 0, 3, GL_FLOAT, GL_FALSE, 0, vVertices );
glEnableVertexAttribArray ( 0 );
- glDrawArrays ( GL_TRIANGLES, 0, 3 );
+ glDrawArrays ( GL_TRIANGLES, 0, 3 ); // TODO: need glDrawElements!
}
int main ( int argc, char *argv[] )