MGL_glGetVisual

Returns the current OpenGL visual for the device context.

Declaration

void MGLAPI MGL_glGetVisual(
MGLDC *dc,
MGLVisual *visual)

Prototype In

mgraph.h

Parameters

dc | MGL device context
visual | Place to store the OpenGL visual information

Description

This function returns the current OpenGL visual that has been set for the MGL device context.

See Also

MGL_glSetVisual, MGL_glCreateContext

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com