wglCreateLayerContext implemented on WINDOWS?

Hi All,
I am just wondering if wglCreateLayerContext is implemented on Windows.

I tried to created an overlay plane, but I got an ‘incorrect parameter’ error.

Thanks for any input!

WJ

Originally posted by wyu:
[b]Hi All,
I am just wondering if wglCreateLayerContext is implemented on Windows.

I tried to created an overlay plane, but I got an ‘incorrect parameter’ error.

Thanks for any input!

WJ[/b]
Check if your graphics card supports overlay planes in OpenGL.

The number of overlay and underlay planes is given in the bReserved member of the PIXELFORMATDESCRIPTOR structure.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/opengl/ntopnglr_1awk.asp

bReserved
Specifies the number of overlay and underlay planes. Bits 0 through 3 specify up to 15 overlay planes and bits 4 through 7 specify up to 15 underlay planes.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/opengl/ntopnglr_73jm.asp

Normally “gaming” graphics cards (eg geForce, Radeon) have overlay support disabled and that support is only enabled in the “workstation” version of the cards (eg Quadro, FireGL).

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.