| Home
| Previous
| Next
| Up

MGL_setOpenGLFuncs

Set the OpenGL rendering functions table pointer

Declaration

void GLAPIENTRY MGL_setOpenGLFuncs(
GLS_glFuncs *glFuncs,
GLS_gluFuncs *gluFuncs)

Prototype In

GL/gl.h

Parameters

glFuncs | Pointer to GLS_glFuncs structure to fill in
gluFuncs | Pointer to GLS_gluFuncs structure to fill in

Description

This function is called by the user application if the MGL libraries are stored in a DLL. By letting the MGL know about the OpenGL function pointer table, when the OpenGL implementation is swapped by the MGL it automatically updates the table in the user DLL to point to the newly loaded OpenGL entry points. This allows the code in the DLL to run with maximum performance for calls to OpenGL via function pointers.

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