- Comment out the performance counting ("hits: xxx misses: yyy") part for the freetyp...
authorAleksey Bragin <aleksey@reactos.org>
Fri, 29 Dec 2006 22:24:43 +0000 (22:24 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Fri, 29 Dec 2006 22:24:43 +0000 (22:24 +0000)
svn path=/trunk/; revision=25241

reactos/subsystems/win32/win32k/objects/text.c

index f345287..3d7857b 100644 (file)
@@ -1478,11 +1478,13 @@ NtGdiGlyphCacheGet(
 
    if (CurrentEntry == &FontCacheListHead) {
 //      DbgPrint("Miss! %x\n", FontEntry->Glyph);
+/*
       Misses++;
       if (Misses>100) {
          DbgPrint ("Hits: %d Misses: %d\n", Hits, Misses);
          Hits = Misses = 0;
       }
+*/
       return NULL;
    }
 
@@ -1490,11 +1492,14 @@ NtGdiGlyphCacheGet(
    InsertHeadList(&FontCacheListHead, CurrentEntry);
 
 //   DbgPrint("Hit! %x\n", FontEntry->Glyph);
+/*
    Hits++;
+
       if (Hits>100) {
          DbgPrint ("Hits: %d Misses: %d\n", Hits, Misses);
          Hits = Misses = 0;
       }
+*/
    return FontEntry->Glyph;
 }