Viewport in Window

BlitzPlus Forums/BlitzPlus Programming/Viewport in Window

Mental Image(Posted 2004) [#1]
Hi,

I am writing an application that has multiple windows. One of the windows has a canvas that I am blitting stuff to. If I section off a portion of that canvas (having previously selected it using CanvasBuffer), am I correct that I only need to worry about re-setting the viewport to the size of the current canvas when I am finished? i.e. it has no detrimental effect on any other currently open but inactive windows.

Just a bit worried about the Armageddon-type warning about VIEWPORT in the docs, is all :-)


Snarty(Posted 2004) [#2]
You'll be fine, Viewports are clip regions per buffer.