ICD vs. 3Dfx vs. software renderer

Started by
4 comments, last by jhrozek 22 years, 1 month ago
I have a problem with acceleration in OGL (I know I''m probably #1316546 but this one is different). 3Dfx support is OK, but when I try to work with my GeForce2 GTS, the program doesn''t seem to work - I find the library in register, load it, but that''s all - the library doesn''t export (Dependency walker) any gl proc, there are only some with the prefix Drv. Is there some other approach how to obtain ICD acceleration ? Second, I have found code that describes accelerated pixel format using PIXELFORMATDESCRIPTOR flags, but I can''t actually set the enumerated format... Thanks for all the help!
Advertisement
quote:Original post by jhrozek
I have a problem with acceleration in OGL (I know I''m probably #1316546 but this one is different). 3Dfx support is OK, but when I try to work with my GeForce2 GTS, the program doesn''t seem to work - I find the library in register, load it, but that''s all - the library doesn''t export (Dependency walker) any gl proc, there are only some with the prefix Drv.
gl functions aren''t actually exported. You need to get the entry points using wglGetProcAddress().

As far as getting hardware acceleration, unless you specifically ask for software rendering *or* request a format that the card doesn''t support, you should get hardware support for anything the card offers.

How are you setting up your PFD?
You haven''t got an opengl32.dll in your game lib have you? If so, this is probably the 3dfx miniGL driver. Remove it and then try.

www.elf-stone.com

____________________________________________________________www.elf-stone.com | Automated GL Extension Loading: GLee 5.00 for Win32 and Linux

About settign the PFD - I''ve just replaced the Nehe''s init code with PFD_GENERIC_ACCELERATED ...I call ChoosePixelFormat with the filled-up struct (still OK) and then call SetPixelFormat which fails with error code 2 - weird.

I still can''t get the result, isn''t there some source code or tutorial to look at? This is quite essential for all openGL programs...

bunny: no, I don''t have opengl32.dll there. I try to dynamically load the GeForce''s openGL library - located in windows'' system path, I look it up in the register

quote:Original post by jhrozek
About settign the PFD - I''ve just replaced the Nehe''s init code with PFD_GENERIC_ACCELERATED
PFD_GENERIC_ACCELERATED doesn''t indicate hardware acceleration via the ICD, it indicates hardware acceleration via the MCD, which isn''t present with modern drivers. You don''t need to use this flag. You should get hardware acceleration automatically unless you specify PFD_GENERIC_ACCELERATED or PFD_GENERIC_FORMAT.

This topic is closed to new replies.

Advertisement