glext.cpp revision 92014e4729fedcfc6951c590460b86a585973df7
/** @file
*
* VirtualBox Windows NT/2000/XP guest OpenGL ICD
*
* OpenGL extensions
*
* References: http://oss.sgi.com/projects/ogl-sample/registry/
*
* Copyright (C) 2006-2007 innotek GmbH
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License as published by the Free Software Foundation,
* in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
* distribution. VirtualBox OSE is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY of any kind.
*
* If you received this file as part of a commercial VirtualBox
* distribution, then only the terms of your commercial VirtualBox
* license agreement apply instead of the previous paragraph.
*
*/
#define VBOX_OGL_WITH_EXTENSION_ARRAY
#include "VBoxOGL.h"
int vboxInitOpenGLExtensions()
{
static bool fInitialized = false;
if (fInitialized)
return VINF_SUCCESS;
for (int i=0;i<RT_ELEMENTS(OpenGLExtensions);i++)
{
}
fInitialized = true;
return VINF_SUCCESS;
}
{
for (int i=0;i<RT_ELEMENTS(OpenGLExtensions);i++)
{
if ( OpenGLExtensions[i].fAvailable
{
}
}
else
return pfnProc;
}
{
return retval;
}
int WINAPI wglGetSwapIntervalEXT(void)
{
return retval;
}
#if 0
#endif