Module Name:    xsrc
Committed By:   macallan
Date:           Sat Dec 10 07:11:58 UTC 2016

Modified Files:
        xsrc/external/mit/xf86-video-glint/dist/src: pm2_exa.c

Log Message:
fix some tpyos and leftovers


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
    xsrc/external/mit/xf86-video-glint/dist/src/pm2_exa.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/xf86-video-glint/dist/src/pm2_exa.c
diff -u xsrc/external/mit/xf86-video-glint/dist/src/pm2_exa.c:1.1 xsrc/external/mit/xf86-video-glint/dist/src/pm2_exa.c:1.2
--- xsrc/external/mit/xf86-video-glint/dist/src/pm2_exa.c:1.1	Sat Dec 10 01:57:54 2016
+++ xsrc/external/mit/xf86-video-glint/dist/src/pm2_exa.c	Sat Dec 10 07:11:58 2016
@@ -141,8 +141,6 @@ Pm2DoneCopy(PixmapPtr pPixmap)
 	ScrnInfoPtr pScrn = xf86Screens[pPixmap->drawable.pScreen->myNum];
 	GLINTPtr pGlint = GLINTPTR(pScrn);
 
-	GLINT_WRITE_REG(0, ScissorMinXY);
-	GLINT_WRITE_REG(0x0fff0fff, ScissorMaxXY);
 }
 
 STATIC Bool
@@ -220,7 +218,7 @@ Pm2UploadToScreen(PixmapPtr pDst, int x,
 	ENTER;
 	dst += (x * cpp) + (y * dst_pitch);
 
-	Permedia3Sync(pScrn);
+	Permedia2Sync(pScrn);
 
 	while (h--) {
 		memcpy(dst, src, wBytes);
@@ -249,7 +247,7 @@ Pm2DownloadFromScreen(PixmapPtr pSrc, in
 
 	src += (x * cpp) + (y * src_pitch);
 
-	Permedia3Sync(pScrn);
+	Permedia2Sync(pScrn);
 
 	while (h--) {
 		memcpy(dst, src, wBytes);
@@ -294,8 +292,8 @@ Pm2InitEXA(ScreenPtr pScreen)
 		      /* | EXA_SUPPORTS_OFFSCREEN_OVERLAPS |*/
 		      | EXA_MIXED_PIXMAPS;
 
-	pExa->maxX = 2047;
-	pExa->maxY = 2047;
+	pExa->maxX = 2048;
+	pExa->maxY = 2048;
 
 	pExa->WaitMarker = Pm2WaitMarker;
 

Reply via email to