Advertisement

initialization of OpenGL

Started by June 16, 2003 06:00 AM
2 comments, last by Crispy 21 years, 8 months ago
Hi, OpenGL used to be initialized properly for my application with a proper vendor - Nvidia, renderer (TNT2), version (1.3.1) and a proper number of extensions (>20). Now I seem to have changed some code somewhere and the respective values have become: renderer - Generic, version - 1.1.1 SGI, number of extensions - 12, vendor - SGI. To me it tells hardware acceleration is not enabled and default MS drivers are being used instead (for this application only!). Unfortunately I have no idea as to what I changed in my code to cause this to happen (afaik I didn''t mess around with GL initialization at all plus everything still gets initialized without a hitch). What can cause this to happen? Thanks, Crispy

Never do anything that is a waste of time and be prepared to wage long tedious wars over this principle - Michael O''Connor

"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared
Sounds like you may need to reload your video drivers. Do other apps seem to be running slow, as if they only used the generic driver?

Oops! Sorry - just saw where you said only one app is affected. Did you change the flags used when selecting a pixel format?

[edited by - Ferdinand the Bull on June 16, 2003 8:42:31 AM]
Advertisement
Nope - no flags changed... I only rearranged code - created new modules etc. I already tried reinstalling drivers, to no avail...

Never do anything that is a waste of time and be prepared to wage long tedious wars over this principle - Michael O''Connor

"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared
Odds are you're requesting a framebuffer format thats not supported by your card - the usual culprit being stencil or depth buffers that are too large, or don't match the current desktop depth.

Edit: If the code has stayed the same, check to see if you've changed your desktop colour depth, this will have an affect if you try and run your app at a different depth (more so if you're running windowed mode).

[edited by - OrangyTang on June 16, 2003 9:40:48 AM]

This topic is closed to new replies.

Advertisement