-/*
- * THIS FILE IS AUTOMATICALLY GENERATED BY gen_scrn_dispatch.pl
- * DO NOT EDIT!!
- */
#include <stdlib.h>
#include "glxclient.h"
static GLXFBConfigSGIX *dispatch_ChooseFBConfigSGIX(Display *dpy, int screen,
- const int *attrib_list,
+ int *attrib_list,
int *nelements)
{
PFNGLXCHOOSEFBCONFIGSGIXPROC pChooseFBConfigSGIX;
GLXFBConfig config,
unsigned int width,
unsigned int height,
- const int *attrib_list)
+ int *attrib_list)
{
PFNGLXCREATEGLXPBUFFERSGIXPROC pCreateGLXPbufferSGIX;
__GLXvendorInfo *dd;
static const char *dispatch_GetDriverConfig(const char *driverName)
{
+#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
/*
* The options are constant for a given driverName, so we do not need
* a context (and apps expect to be able to call this without one).
*/
return glXGetDriverConfig(driverName);
+#else
+ return NULL;
+#endif
}