remove compiler warning
Change-Id: I40750320d21165333b195aca7564a6f4ee9d9eef Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
This commit is contained in:
parent
f1927370cb
commit
aa92cab346
@ -346,12 +346,12 @@ void renderAScene(int w, int h)
|
||||
|
||||
for (int i=0; i<1000; ++i) {
|
||||
GLfloat pos[] = {
|
||||
(rand() % 100) / 100.,
|
||||
(rand() % 100) / 100.,
|
||||
(rand() % 100) / 100.,
|
||||
(rand() % 100) / 100.,
|
||||
(rand() % 100) / 100.,
|
||||
(rand() % 100) / 100.
|
||||
(rand() % 100) / 100.f,
|
||||
(rand() % 100) / 100.f,
|
||||
(rand() % 100) / 100.f,
|
||||
(rand() % 100) / 100.f,
|
||||
(rand() % 100) / 100.f,
|
||||
(rand() % 100) / 100.f
|
||||
};
|
||||
|
||||
glVertexAttribPointer(0, 2, GL_FLOAT, GL_FALSE, 0, pos);
|
||||
|
Loading…
Reference in New Issue
Block a user