Since When Does OpenGL link to DirectDraw?!

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. "

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.

OpenGL itself doesnt need DirtyX.

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

No biggy.

Thanks guys!

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.

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.