OGL

BlitzPlus Forums/BlitzPlus Programming/OGL

Would be nice if someone could post some info on how to use this "unsoported OpenGL". I'd like to play around with it.

gfxdrv = CountGfxDrivers( )
For k=1 To gfxdrv
	If GfxDriverName(k) = "OpenGL"
		SetGfxDriver k
		Exit
	EndIf
Next


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!

Thanks