Undo typos from last commit

Reported-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2012-01-17 15:21:26 +10:00
parent 9c1f8f775c
commit bdaf1ba97c
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ AM_CONDITIONAL(DRI, test x$DRI = xyes)
if test "$DRI" = yes; then
PKG_CHECK_MODULES(DRI, [libdrm >= 2.0 xf86driproto])
AC_DEFINE(SISDRI,1,[Enable DRI driver support])
AC_DEFINE(SIDDRI_DEVEL,1,[Enable developmental DRI driver support])
AC_DEFINE(SISDRI_DEVEL,1,[Enable developmental DRI driver support])
fi
# technically this should be a configure flag. meh.

View File

@@ -369,7 +369,7 @@ SISDRIScreenInit(ScreenPtr pScreen)
*/
pDRIInfo->SAREASize =
((sizeof(XF86DRISAREARec) + getpagesize() - 1) & getpagesize()); /* round to page */
/* ((sizeof(SISDRISAREARec) + 0xfff) & 0x1000); */ /* round to page */
/* ((sizeof(XF86DRISAREARec) + 0xfff) & 0x1000); */ /* round to page */
/* + shared memory device private rec */
#else
/* For now the mapping works by using a fixed size defined