aboutsummaryrefslogtreecommitdiff
path: root/package/directfb/directfb-gfxcard-fix-build-error-with-debug.patch
blob: 2c1d459ab8f846730d0d1d0cfdaf53378ec8a97f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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