D3D9Max2DDriver virtual resolution bug

Archives Forums/BlitzMax Bug Reports/D3D9Max2DDriver virtual resolution bug

Afke(Posted 2013) [#1]
Hi,

I have found that if I set virtual resolution to be larger then Current Graphics resolution and if I use directX 9 Driver it behaves wrong and draws just part of the screen.

with OGL and D3D7Max2DDriver behaves ok. Any help will be great because BigFish QA waiting and I don't have a much time.
SuperStrict
SetGraphicsDriver D3D9Max2DDriver()
Graphics(800, 600, 32, 60)

While Not KeyDown(KEY_ESCAPE)
	Cls
	SetVirtualResolution(1200, 750)
	DrawRect(0, 0, 1200, 750)
	
	Flip
WEnd


Thanks


therevills(Posted 2013) [#2]
Yep its a know bug:

http://www.blitzbasic.com/Community/posts.php?topic=93081

Set the viewport and it should be good...


Afke(Posted 2013) [#3]
Thanks