debian/patches/02_tdfx_improve_mode_rejection_diagnostics.diff |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 47ee2707b5ef76acad1593c1d0d643646c1a80d9
Author: Maarten Lankhorst <[email protected]>
Date:   Thu Jul 19 14:01:58 2012 +0200

    Refresh patch to build on x1.13

diff --git a/debian/patches/02_tdfx_improve_mode_rejection_diagnostics.diff 
b/debian/patches/02_tdfx_improve_mode_rejection_diagnostics.diff
index 28dd4ed..588f513 100644
--- a/debian/patches/02_tdfx_improve_mode_rejection_diagnostics.diff
+++ b/debian/patches/02_tdfx_improve_mode_rejection_diagnostics.diff
@@ -6,12 +6,12 @@
    TDFXTRACE("TDFXValidMode start\n");
 -  if ((mode->HDisplay>2048) || (mode->VDisplay>1536)) 
 +  if (mode->HDisplay>2048) {
-+    xf86DrvMsg(scrnIndex, X_INFO, "rejecting mode with horizontal resolution 
%d"
++    xf86DrvMsg(pScrn->scrnIndex, X_INFO, "rejecting mode with horizontal 
resolution %d"
 +               " exceeding maximum of 2048\n", mode->HDisplay);
      return MODE_BAD;
 +  }
 +  if (mode->VDisplay>1536) {
-+    xf86DrvMsg(scrnIndex, X_INFO, "rejecting mode with vertical resolution %d"
++    xf86DrvMsg(pScrn->scrnIndex, X_INFO, "rejecting mode with vertical 
resolution %d"
 +               " exceeding maximum of 1536\n", mode->VDisplay);
 +    return MODE_BAD;
 +  }
@@ -22,7 +22,7 @@
          return MODE_OK;
          break;
        default:
-+        xf86DrvMsg(scrnIndex, X_INFO, "rejecting mode with unsupported"
++        xf86DrvMsg(pScrn->scrnIndex, X_INFO, "rejecting mode with unsupported"
 +                 " interlace flag\n");
          return MODE_BAD;
          break;
@@ -31,7 +31,7 @@
    /* In clock doubled mode widths must be divisible by 16 instead of 8 */
 -  if ((mode->Clock>TDFX2XCUTOFF) && (mode->HDisplay%16))
 +  if ((mode->Clock>TDFX2XCUTOFF) && (mode->HDisplay%16)) {
-+    xf86DrvMsg(scrnIndex, X_INFO, "rejecting mode with horizontal resolution 
%d"
++    xf86DrvMsg(pScrn->scrnIndex, X_INFO, "rejecting mode with horizontal 
resolution %d"
 +               " not divisibile by 16 and clock %d greater than %d\n",
 +               mode->HDisplay, mode->Clock, TDFX2XCUTOFF);
      return MODE_BAD;


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to