OK, I see a flash of the screen in the correct resolution. When should I call the function? I think I have it in the wrong place perhaps. Thanks for all your help here. It is sort of an unique task that I ask for assistance with.
Strict Framework brl.GLGraphics GLGraphics 640, 480 Include "retro_render.bmx" glMatrixMode (GL_PROJECTION) glOrtho(0, 640, 480, 0, - 1000, 1000) glMatrixMode(GL_MODELVIEW) While Not KeyDown(KEY_ESCAPE) glClear GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT RenderRetro(160, 120) glBegin(GL_LINE_LOOP) For Local i:Float = 0 To 10 glColor3f(i / 10, 0.0, 1.0) glVertex3f(80 + Cos(i * 36) * 40, 60 + Cos(i * 36) * 30, 0) Next glEnd() Flip Wend