Module Name: xsrc
Committed By: mrg
Date: Wed Jul 22 06:12:10 UTC 2009
Modified Files:
xsrc/external/mit/xorg-server/dist/glx: glxdri.c
Log Message:
apply patch-am from pkgsrc modular-xorg-server:
date: 2009/06/24 17:25:36; author: drochner; state: Exp; lines: +10 -89
zero out a local variable, fixes random behaviour in case a DRI hw module
cannot be loaded and the server falls back to software rendering, from
Rafal Boni per mail to tech-x11
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 xsrc/external/mit/xorg-server/dist/glx/glxdri.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xorg-server/dist/glx/glxdri.c
diff -u xsrc/external/mit/xorg-server/dist/glx/glxdri.c:1.1.1.2 xsrc/external/mit/xorg-server/dist/glx/glxdri.c:1.2
--- xsrc/external/mit/xorg-server/dist/glx/glxdri.c:1.1.1.2 Thu Jul 9 07:04:34 2009
+++ xsrc/external/mit/xorg-server/dist/glx/glxdri.c Wed Jul 22 06:12:10 2009
@@ -968,6 +968,8 @@
const __DRIextension **extensions;
int i;
+ memset(&framebuffer, 0, sizeof(framebuffer));
+
if (!xf86LoaderCheckSymbol("DRIQueryDirectRenderingCapable") ||
!DRIQueryDirectRenderingCapable(pScreen, &isCapable) ||
!isCapable) {