On Wed, Jun 04, 2003 at 08:27:06AM +0100, Matt Sealey wrote:
> > By "resize" you mean, e.g., "color buffer resize"? That doesn't work.
> > From the documentation:
> > > > glViewport specifies the affine transformation of x and y from
> > normalized device coordinates to window coordinates.
> > Sure but if the window coordinates are width 300, height 300, then the
> maximum size of the buffer is really 300x300 in window coordinates.
> > There's not any point allocating or keeping a larger colour buffer than
> you are going to have physical display pixels :)
Uhm...
[example cut]
Did I miss you point?
The point is that people *almost always* call glViewport when they get a window resize event. That gives the driver a chance to ask the system what the window size is. If the size is different than the last time, it can resize its internal buffers. It doesn't just use the values supplied by glViewport. It uses that as a good time to find out what the size is.
------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel