packspu_getstring.c revision 49ad08ab15f3b96d2d5ba5134a0506dd7b27fdf1
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* Copyright (c) 2001, Stanford University
45e9809aff7304721fddb95654901b32195c9c7avboxsync * All rights reserved
45e9809aff7304721fddb95654901b32195c9c7avboxsync * See the file LICENSE.txt for information on redistributing this software.
return version;
static const GLubyte *
GetExtensions(void)
while (writeback)
crNetRecv();
return gpszExtensions;
#ifdef WINDOWS
static bool packspuRunningUnderWine(void)
switch(name)
case GL_EXTENSIONS:
return GetExtensions();
case GL_VERSION:
#if 0 && defined(WINDOWS)
if (packspuRunningUnderWine())
case GL_VENDOR:
#ifdef WINDOWS
if (packspuRunningUnderWine())
case GL_RENDERER:
#ifdef WINDOWS
if (packspuRunningUnderWine())
#ifdef CR_OPENGL_VERSION_2_0
return gpszShadingVersion;
#ifdef GL_CR_real_vendor_strings
case GL_REAL_VENDOR:
case GL_REAL_VERSION:
case GL_REAL_RENDERER: