PDA

View Full Version : Since When Does OpenGL link to DirectDraw?!



deadalive
04-23-2003, 08:27 AM
Someone on gamedev.net posted this and I want to know if it is actually true, that OpenGL links to ddraw.dll

"I've noticed this since my RIVA TNT 2 ULTRA.The OpenGL library is indeed linking with the DirectDraw library.As a proof i will show this:

Loaded 'C:\WINDOWS\SYSTEM32\opengl32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM32\glu32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM32\ddraw.dll', no matching symbolic information found.

I have only linked to OpenGL and GLU but i'm also linked to DirectDraw and can fully use it's stuff. "

Mazy
04-23-2003, 08:30 AM
Its up to the driver to link to whatever it wants and needs.. it doenst make any difference for you.. you shouldnt mix dx and opengl on the same surface anyway.

HS
04-23-2003, 08:31 AM
OpenGL itself doesnt need DirtyX.

However some drivers internaly use DirtyDraw to deal with texture, buffers,...

No biggy.

deadalive
04-23-2003, 08:40 AM
Thanks guys!

Relic
04-24-2003, 07:33 AM
I'd say it's OpenGL32.dll itself loading ddraw.dll. It's listed in the dll's dependencies and MS's OpenGL implementation might use it for fast blits or somesuch.

Mihail121
04-24-2003, 07:38 AM
Hi!

I happends to be the author of the text posted above.It's true that it depends only on the driver if something will link with another one.You guys are also right that OpenGL uses DDraw for fast blit ops.I read in some function spec for this.