To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 9086
9085  |  9087
Subject: 
Re: LDGLite outputting gobble-dee-goo to terminal window
Newsgroups: 
lugnet.cad.dev.mac, lugnet.cad.dev
Date: 
Fri, 25 Jul 2003 19:41:42 GMT
Viewed: 
817 times
  
In lugnet.cad.dev.mac, Travis Cobbs wrote:
In lugnet.cad.dev.mac, Don Heyse wrote:
That means I also have to adjust any OpenGL context dependent bug fixes
whenever the the window is resized.

Having said this, it should be noted that if you have an older video
card in Windows, and resize a relatively small window to be larger
than the video card can handle, it becomes very slow, apparently
going into software mode.  I'm not sure how it is handled, but the
context doesn't change, and is still listed as being provided by the
video card, not Microsoft (at least with my ATI card at work).

So you're saying that if I ask for the GL_RENDERER etc strings after
a window resize I'll get the same ones I started with no matter what?
(I added some code to check it anyway just in case)  That really sux.
Who designed that feature, Microsoft?

However, any time you go to fullscreen mode at a different
resolution or color depth, you are supposed to completely destroy
your original context, and create a new one from scratch.  This
requires you to also destroy and re-create the window that the
context is attached to, because the two are closely linked.  After
doing this, you have to rebuild any display lists, rebind any
textures, and do all of your other first-time OpenGL setup.

I guess that explains why games like to go fullscreen in a particular
video mode and stay there.



Message is in Reply To:
  Re: LDGLite outputting gobble-dee-goo to terminal window
 
(...) OK, I looked at the code above, and all it seems to do is tell its OpenGL context to update every time the window is resized. If their glut doesn't do this, then it is broken. As far as I know, there isn't any equivalent to this in Windows. (...) (21 years ago, 25-Jul-03, to lugnet.cad.dev.mac, lugnet.cad.dev)

36 Messages in This Thread:











Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR