2
1

directfb-gfxcard-fix-build-error-with-debug.patch 1.2 KB

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