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, 07:18 PM,
#24
Video mode set failed: Couldn't find matching GLX visual
joevenzon Wrote: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.
ok thanks :wink:but even when just starting up vdrift this method is called twice, obviously without a resolution change involved....one of this surely must be superflicious?
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)