kumquat-buildroot/package/directfb/directfb-gfxcard-fix-build-error-with-debug.patch
Peter Korsgaard 96da2dfff9 directfb: fix build with BR2_PACKAGE_DIRECTFB_DEBUG
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 12:55:39 +02:00

34 lines
1.2 KiB
Diff

From fab69ff2e063f0b6a4b13139f100ff01aa4cae84 Mon Sep 17 00:00:00 2001
From: Peter Korsgaard <jacmet@sunsite.dk>
Date: Fri, 2 Oct 2009 12:20:31 +0200
Subject: [PATCH] gfxcard: fix build error with --enable-debug
Commit fdc611ea (Added support for colors and multiple layers in a
glyph implementing outlines) changed dfb_gfxcard_drawglyph() to take
a layers argument instead of index, but the D_DEBUG_AT call wasn't
changed to match.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
src/core/gfxcard.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/core/gfxcard.c b/src/core/gfxcard.c
index 127e30e..0020103 100644
--- a/src/core/gfxcard.c
+++ b/src/core/gfxcard.c
@@ -2335,8 +2335,8 @@ void dfb_gfxcard_drawglyph( CoreGlyphData **glyph, int x, int y,
DFBSurfaceBlendFunction orig_srcblend;
DFBSurfaceBlendFunction orig_dstblend;
- D_DEBUG_AT( Core_GraphicsOps, "%s( %u, %d,%d, %p, %p )\n",
- __FUNCTION__, index, x, y, font, state );
+ D_DEBUG_AT( Core_GraphicsOps, "%s( %d,%d, %u, %p, %p )\n",
+ __FUNCTION__, x, y, layers, font, state );
D_ASSERT( card != NULL );
D_ASSERT( card->shared != NULL );
--
1.6.3.3