aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/dmx/glxProxy/glxscreens.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-05-27 06:40:50 +0000
committermarha <marha@users.sourceforge.net>2010-05-27 06:40:50 +0000
commit619d6f3626f36af85cc40eeee95c7585d906fe5c (patch)
tree0428401464cc6127a651c94261678072cb3bafc3 /xorg-server/hw/dmx/glxProxy/glxscreens.c
parentd89c0289565a662a378df6e3c05de42982ab1c9d (diff)
parent80cb6bca9f771ef15c00cc41af2b9f315d66258d (diff)
downloadvcxsrv-619d6f3626f36af85cc40eeee95c7585d906fe5c.tar.gz
vcxsrv-619d6f3626f36af85cc40eeee95c7585d906fe5c.tar.bz2
vcxsrv-619d6f3626f36af85cc40eeee95c7585d906fe5c.zip
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/hw/dmx/glxProxy/glxscreens.c')
-rw-r--r--xorg-server/hw/dmx/glxProxy/glxscreens.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/xorg-server/hw/dmx/glxProxy/glxscreens.c b/xorg-server/hw/dmx/glxProxy/glxscreens.c
index 4c40d2315..8cf7b281c 100644
--- a/xorg-server/hw/dmx/glxProxy/glxscreens.c
+++ b/xorg-server/hw/dmx/glxProxy/glxscreens.c
@@ -204,9 +204,9 @@ static void CalcServerVersionAndExtensions( void )
* release temporary storage
*/
for (s=0; s<__glXNumActiveScreens; s++) {
- if (be_extensions[s]) Xfree(be_extensions[s]);
+ free(be_extensions[s]);
}
- Xfree( be_extensions );
+ free( be_extensions );
if (dmxGLXSwapGroupSupport) {
if (!denied_extensions ||
@@ -254,7 +254,6 @@ void __glXScreenInit(GLint numscreens)
if (numscreens > 1) {
for (s=1; s<numscreens; s++) {
DMXScreenInfo *dmxScreen = &dmxScreens[s];
- __GLXscreenInfo *glxScreen = &__glXActiveScreens[s];
cfg = FindMatchingFBConfig( &dmxScreen0->fbconfigs[c],
dmxScreen->fbconfigs,