diff options
author | marha <marha@users.sourceforge.net> | 2011-10-05 16:47:44 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-10-05 16:47:44 +0200 |
commit | 8238de0fe0c28bd54b3e6cdd1fc94513cf21d3cc (patch) | |
tree | e9adf557b0065c0936be2a1936eaa3033144ac74 /xorg-server/glx/glxdriswrast.c | |
parent | 0e5ac4a92495c162590cedb58c6f6fc1d9ba199a (diff) | |
download | vcxsrv-8238de0fe0c28bd54b3e6cdd1fc94513cf21d3cc.tar.gz vcxsrv-8238de0fe0c28bd54b3e6cdd1fc94513cf21d3cc.tar.bz2 vcxsrv-8238de0fe0c28bd54b3e6cdd1fc94513cf21d3cc.zip |
Added swrast dll based on wgl
Diffstat (limited to 'xorg-server/glx/glxdriswrast.c')
-rw-r--r-- | xorg-server/glx/glxdriswrast.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/xorg-server/glx/glxdriswrast.c b/xorg-server/glx/glxdriswrast.c index 519b136e4..4aa1302e7 100644 --- a/xorg-server/glx/glxdriswrast.c +++ b/xorg-server/glx/glxdriswrast.c @@ -422,12 +422,19 @@ initializeExtensions(__GLXDRIscreen *screen) }
}
+extern Bool g_fswrastwgl;
+
static __GLXscreen *
__glXDRIscreenProbe(ScreenPtr pScreen)
{
- const char *driverName = "swrast";
+ const char *driverName;
__GLXDRIscreen *screen;
const __DRIconfig **driConfigs;
+
+ if (g_fswrastwgl)
+ driverName = "swrastwgl";
+ else
+ driverName = "swrast";
screen = calloc(1, sizeof *screen);
if (screen == NULL)
|