Skip to content
Snippets Groups Projects
Commit 516076ed authored by deuce's avatar deuce
Browse files

The source width/height also need to be multiplied by the scaling factor.

This may fix PR:53
parent 502bc31e
No related branches found
No related tags found
No related merge requests found
...@@ -1173,8 +1173,8 @@ int sdl_draw_one_char(unsigned short sch, unsigned int x, unsigned int y, struct ...@@ -1173,8 +1173,8 @@ int sdl_draw_one_char(unsigned short sch, unsigned int x, unsigned int y, struct
dst.w=vs->charwidth*vs->scaling; dst.w=vs->charwidth*vs->scaling;
dst.h=vs->charheight*vs->scaling; dst.h=vs->charheight*vs->scaling;
src.x=0; src.x=0;
src.w=vs->charwidth; src.w=vs->charwidth*vs->scaling;
src.h=vs->charheight; src.h=vs->charheight*vs->scaling;
src.y=vs->charheight*vs->scaling; src.y=vs->charheight*vs->scaling;
ch=sch & 0xff; ch=sch & 0xff;
if((sch >>15) && !(vs->blink)) if((sch >>15) && !(vs->blink))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment