changeset 66:f18ad054a695

Oops, some function arguments were reversed.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 01 Oct 2012 11:52:42 +0300
parents 03375aa0ef2b
children b51c7fc264ab
files dmtext_bm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dmtext_bm.c	Mon Oct 01 11:20:56 2012 +0300
+++ b/dmtext_bm.c	Mon Oct 01 11:52:42 2012 +0300
@@ -10,7 +10,7 @@
 void dmDrawBMTextConst(SDL_Surface *screen, DMBitmapFont *font, int mode, int xc, int yc, const char *fmt)
 {
     const char *ptr = fmt;
-    DMScaledBlitFunc blit = dmGetScaledBlitFunc(screen->format, font->glyphs[0]->format, mode);
+    DMScaledBlitFunc blit = dmGetScaledBlitFunc(font->glyphs[0]->format, screen->format, mode);
     while (*ptr)
     {
         char ch = *ptr++;