diff options
-rw-r--r-- | hw/kdrive/smi/smi.h | 4 | ||||
-rw-r--r-- | hw/kdrive/smi/smidraw.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/hw/kdrive/smi/smi.h b/hw/kdrive/smi/smi.h index 7663592b5..ba985f48d 100644 --- a/hw/kdrive/smi/smi.h +++ b/hw/kdrive/smi/smi.h @@ -70,8 +70,8 @@ #include "kxv.h" -#define DEBUG -#ifdef DEBUG +#define SMI_DEBUG 0 +#if SMI_DEBUG #define DBGOUT(fmt,a...) fprintf (stderr, fmt, ##a) #else #define DBGOUT(fmt,a...) diff --git a/hw/kdrive/smi/smidraw.c b/hw/kdrive/smi/smidraw.c index 12910bbb1..161fe91f0 100644 --- a/hw/kdrive/smi/smidraw.c +++ b/hw/kdrive/smi/smidraw.c @@ -315,6 +315,7 @@ smiDrawEnable (ScreenPtr pScreen) } } + smiSetup (pScreen, 0); KdMarkSync (pScreen); LEAVE (); } |