S3 Trio64/V2 is non 3d right?

Miscellaneous Forums/General Discussion/S3 Trio64/V2 is non 3d right?

I'm just checking for CreateDevice failiures. I also do some other checks to see if I can create surfaces in Video Memory or have to use System Memory.

		res=d3d.CreateDevice(IID_IDirect3DTnLDevice,primarysurface,Varptr device)
		If res 
			res=d3d.CreateDevice(IID_IDirect3DHALDevice,primarysurface,Varptr device)
			Print "TnL Failed : Selecting HAL"
		EndIf
		
		If res 
			res=d3d.CreateDevice(IID_IDirect3DMMXDevice,primarysurface,Varptr device)
			Print "HAL Failed : Selecting MMX (software)"
		EndIf
		If res Throw "CreateDevice Failed result="+res


I could also check for an RGB device as well but I reckon most CPU's, even the old crap, have MMX.