Please help me check for DX the OGL

BlitzMax Forums/BlitzMax Programming/Please help me check for DX the OGL

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.

Hi there - I just did some testing with the "troubleshoot" tab in windows.

Here, you can turn off 3D acceleration, and doing this, acceleration is still returned as true even though it is unavailable.

What I mean is, the system is reporting it can do DX and OpenGL fine using the above tests, but Graphics() still fails when I call it using bmax. I would like to be able to use Try() and Catch on Graphics() but it seems not to be able to catch Graphics()'s unhandled exception.

local catchString:String
try
	Graphics 800,600,0,-1|HARDSYNC
catch catchString$
	print "Switching to software acceleration"
endtry


Perhaps I'm doing it wrong? this is a final failsafe test... better safe than sorry as they say.