Strange MAV on Vista

Blitz3D Forums/Blitz3D Programming/Strange MAV on Vista

I sent the following test program (in debug mode)

file=WriteFile("Error Log.txt")
If file=0 Then RuntimeError "File could not be written, please move program."
WriteLine file,"Log opened."
Graphics3D 640,480,0,2
WriteLine file,"Graphics init (0) ok"

For b = 2 To 4
bt = 8 * b

For w = 0 To 2048
For h = 0 To 2048
	If GfxModeExists(w, h, bt) 
		WriteLine file,w + " x " + h + " x " + bt + " ...... tested OK"
	EndIf
Next
Next

Next

;Graphics3D 640,480,32,2
;WriteLine file,"Graphics init (32) ok"
SetBuffer BackBuffer()
WriteLine file,"Double buffering ok"

camera=CreateCamera()
WriteLine file,"Camera ok"

light=CreateLight()
WriteLine file,"Light ok"
RotateEntity light,90,0,0
WriteLine file,"Light rotated ok"

; Create cube
cube=CreateCube()
WriteLine file,"Cube created ok"

PositionEntity cube,0,0,5
WriteLine file,"Cube positioned ok"
WriteLine file,"Entered loop ok"
TurnEntity cube,0.1,0.1,0.1
WriteLine file,"Cube rotated ok"
RenderWorld
WriteLine file,"Render ok"
Flip
WriteLine file,"Switch buffers ok"
WriteLine file,"Exit loop, closing log."
CloseFile file
End


We will see...