Skip to content
Snippets Groups Projects
Commit 795fe248 authored by deuce's avatar deuce
Browse files

Pointer, not struct.

parent 79277ed0
Branches
Tags
No related merge requests found
......@@ -1158,8 +1158,8 @@ int sdl_video_event_thread(void *data)
, dac_default[vstat.palette[palette_entry]].green
, dac_default[vstat.palette[palette_entry]].blue));
#else
r.x=(x+rect.x)*vstat.scaling;
r.y=(y+rect.y)*vstat.scaling;
r.x=(x+rect->x)*vstat.scaling;
r.y=(y+rect->y)*vstat.scaling;
sdl.FillRect(win, &r, sdl.MapRGB(win->format
, dac_default[vstat.palette[palette_entry]].red
, dac_default[vstat.palette[palette_entry]].green
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment