Hi, I'm trying to find out if the viewport command is reliable on ALL PCs/Macs or not.
Please run this code on as many PCs as possible to help out, thanks!:
[edit] here's an exe for easy portability:
http://www.greyaliengames.com/misc/viewport.zip (578kb)
It should show a square in full-screen mode, press Escape, you should then see a square in windowed-mode, then press escape to exit. If you see a circle or anything else, please report your findings along with graphics card type. Many thanks in advance.
If anyone has any further info about this, such as they have seen viewport mess up before, please post. If you've seen it mess up before, was it only on DrawImage, or line/shape drawing commands or text drawing? Thanks.
Please run this code on as many PCs as possible to help out, thanks!:
[edit] here's an exe for easy portability:
http://www.greyaliengames.com/misc/viewport.zip (578kb)
Strict Graphics 800,600,32 test() EndGraphics Graphics 640,480,0 test() Function test() Cls SetViewport 100,100,100,100 DrawOval 0,0,300,300 Flip While Not KeyHit(KEY_ESCAPE) Wend End Function
It should show a square in full-screen mode, press Escape, you should then see a square in windowed-mode, then press escape to exit. If you see a circle or anything else, please report your findings along with graphics card type. Many thanks in advance.
If anyone has any further info about this, such as they have seen viewport mess up before, please post. If you've seen it mess up before, was it only on DrawImage, or line/shape drawing commands or text drawing? Thanks.