GLDrawText()

BlitzMax Forums/BlitzMax OpenGL Programming/GLDrawText()

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ok, bit easier than I thought :)

GLGraphics 800,600,0,0, GL_BACKBUFFER | GL_DEPTHBUFFER
glClearColor(0.5, 0.5, 0.5, 0.0)
While Not KeyHit(KEY_ESCAPE)
	glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)
	GLDrawText "BRL Rock",400,300
	Flip True
Wend