[SDL] Re: Getting the client size in SDL OpenGL Window

Glen RItchie glen.ritchie at jcu.edu.au
Mon Jan 17 15:11:54 PST 2005

Rainer Deyke <rainerd <at> eldwood.com> writes:

> Glen RItchie wrote:
> > If i was using fullscreen(or the SDL_NOFRAME param) i
> > would agree. But those width and height specify the width
> > and height of the entire window,
> No they don't.

Well then, I am at a complete loss as to why the exact code works perfectly
under win32 when i pass the client area to glViewport but fails under SDL and
GLUT when i pass the window size/width...

More information about the SDL mailing list