OGL

BlitzPlus Forums/BlitzPlus Programming/OGL

MadMax(Posted 2003) [#1]
Would be nice if someone could post some info on how to use this "unsoported OpenGL". I'd like to play around with it.


Beaker(Posted 2003) [#2]
gfxdrv = CountGfxDrivers( )
For k=1 To gfxdrv
	If GfxDriverName(k) = "OpenGL"
		SetGfxDriver k
		Exit
	EndIf
Next



marksibly(Posted 2003) [#3]
Graphics drivers are currently hardcoded in, too.

1=Native,
2=OpenGL,
3=DirectDraw

So, to give OpenGL a quick try with your app, just stick...

SetGfxDriver 2


...at the top.

This may change over time - the GfxDriverName$ technique is the correct way to find the OpenGL driver - but this will work until at least the next update!


MadMax(Posted 2003) [#4]
Thanks