1 glStringMarkerGREMEDY(len = 4, string = "Init")
2 glClearColor(red = 0.3, green = 0.1, blue = 0.3, alpha = 1)
3 glStringMarkerGREMEDY(len = 0, string = "Reshape")
4 glViewport(x = 0, y = 0, width = 250, height = 250)
5 glMatrixMode(mode = GL_PROJECTION)
7 glOrtho(left = -1, right = 1, bottom = -1, top = 1, zNear = -0.5, zFar = 1000)
8 glMatrixMode(mode = GL_MODELVIEW)
9 glStringMarkerGREMEDY(len = 0, string = "Draw")
10 glClear(mask = GL_COLOR_BUFFER_BIT)
11 glBegin(mode = GL_TRIANGLES)
12 glColor3f(red = 0.8, green = 0, blue = 0)
13 glVertex3f(x = -0.9, y = -0.9, z = -30)
14 glColor3f(red = 0, green = 0.9, blue = 0)
15 glVertex3f(x = 0.9, y = -0.9, z = -30)
16 glColor3f(red = 0, green = 0, blue = 0.7)
17 glVertex3f(x = 0, y = 0.9, z = -30)
20 glFrameTerminatorGREMEDY()