Debian Codegraph @

Tests/GLSpeedTest/test5.cpp

raw
1 #include <ClanLib/display.h>
2 #include <ClanLib/core.h>
3 #include <GL/gl.h>
4
5 void init_test5()
6 {
7 glDisable(GL_TEXTURE_2D);
8 }
9
10 void deinit_test5()
11 {
12 }
13
14 void test5()
15 {
16 glBegin(GL_POLYGON);
17 glVertex2f(0, 0);
18 glVertex2f(10, 0);
19 glVertex2f(10, 10);
20 glVertex2f(0, 10);
21 glEnd();
22 }