~strahinja/lav-sdl

c696c5a681053c3d27f6e4bc97f9ac856fc0cacb — Страхиња Радић 6 months ago 5b33866
Explicit coordinates

Signed-off-by: Страхиња Радић <contact@strahinja.org>
1 files changed, 4 insertions(+), 4 deletions(-)

M lav-sdl.c
M lav-sdl.c => lav-sdl.c +4 -4
@@ 332,10 332,10 @@ draw(void)
	if (draw_pointer)
	{
		SDL_SetRenderDrawColor(renderer, 0, 0, 0, SDL_ALPHA_OPAQUE);
		SDL_RenderDrawLineF(renderer, pointer.x - 9, pointer.y + 1,
			pointer.x + 11, pointer.y + 1);
		SDL_RenderDrawLineF(renderer, pointer.x + 1, pointer.y - 9,
			pointer.x + 1, pointer.y + 11);
		SDL_RenderDrawLineF(renderer, pointer.x - 10 + 1, pointer.y + 1,
			pointer.x + 10 + 1, pointer.y + 1);
		SDL_RenderDrawLineF(renderer, pointer.x + 1, pointer.y - 10 + 1,
			pointer.x + 1, pointer.y + 10 + 1);
		SDL_SetRenderDrawColor(renderer, 255, 255, 255,
			SDL_ALPHA_OPAQUE);
		SDL_RenderDrawLineF(renderer, pointer.x - 10, pointer.y,