Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Video mode set failed: Couldn't find matching GLX visual
03-18-2006, 06:03 PM,
#23
Video mode set failed: Couldn't find matching GLX visual
In windows, a resolution change invalidates all of your opengl data, so you need to re-load it all again. Also, if you change your texture size, you need to unload and re-load your opengl textures. After a resolution change or texture size change, a bunch of Load functions get re-called (such as Menu.Load). Menu::Load() is written as it is to automatically unload and reload any resources that are already loaded. Another way to do this would have been to write a ReLoad function, but since it'd share a lot of code with Load anyway, it made more sense to just make Load smart enough to handle all situations.
Reply


Messages In This Thread
Video mode set failed: Couldn't find matching GLX visual - by joevenzon_phpbb2_import3 - 03-18-2006, 06:03 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)