Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xf86-video-suncg14/dist/src disable accidenta...



details:   https://anonhg.NetBSD.org/xsrc/rev/9a6cc383c01d
branches:  trunk
changeset: 6976:9a6cc383c01d
user:      macallan <macallan%NetBSD.org@localhost>
date:      Wed May 11 21:10:37 2022 +0000

description:
disable accidentally committed debug goop

diffstat:

 external/mit/xf86-video-suncg14/dist/src/cg14_accel.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 5431831dbf2a -r 9a6cc383c01d external/mit/xf86-video-suncg14/dist/src/cg14_accel.c
--- a/external/mit/xf86-video-suncg14/dist/src/cg14_accel.c     Wed May 11 19:37:52 2022 +0000
+++ b/external/mit/xf86-video-suncg14/dist/src/cg14_accel.c     Wed May 11 21:10:37 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cg14_accel.c,v 1.30 2022/05/11 19:35:06 macallan Exp $ */
+/* $NetBSD: cg14_accel.c,v 1.31 2022/05/11 21:10:37 macallan Exp $ */
 /*
  * Copyright (c) 2013 Michael Lorenz
  * All rights reserved.
@@ -42,8 +42,8 @@
 
 #include "cg14.h"
 
-//#define SX_DEBUG
-#define SX_TRACE
+/*#define SX_DEBUG*/
+/*#define SX_TRACE*/
 
 #ifdef SX_TRACE
 #define ENTER xf86Msg(X_ERROR, "%s>\n", __func__);
@@ -103,7 +103,7 @@
        Cg14Ptr p = GET_CG14_FROM_SCRN(pScrn);
 
        ENTER;
-       xf86Msg(X_ERROR, "%s bpp %d rop %x\n", __func__,
+       DPRINTF(X_ERROR, "%s bpp %d rop %x\n", __func__,
            pSrcPixmap->drawable.bitsPerPixel, alu);
 
        if (planemask != p->last_mask) {
@@ -125,7 +125,7 @@
                        p->pExa->Copy = CG14Copy32;
                        break;
                default:
-                       xf86Msg(X_ERROR, "%s depth %d\n", __func__,
+                       DPRINTF(X_ERROR, "%s depth %d\n", __func__,
                            pSrcPixmap->drawable.bitsPerPixel);
        }
        p->srcpitch = exaGetPixmapPitch(pSrcPixmap);



Home | Main Index | Thread Index | Old Index