Make dot easier to see in testrelative.

This commit is contained in:
Ryan C. Gordon 2015-05-26 11:32:06 -04:00
parent a2c28ec188
commit d074a532e2
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ SDL_Event event;
static void static void
DrawRects(SDL_Renderer * renderer, SDL_Rect * rect) DrawRects(SDL_Renderer * renderer, SDL_Rect * rect)
{ {
SDL_SetRenderDrawColor(renderer, 255, 127, 0, 255); SDL_SetRenderDrawColor(renderer, 255, 0, 0, 255);
SDL_RenderFillRect(renderer, rect); SDL_RenderFillRect(renderer, rect);
} }
@ -53,7 +53,7 @@ loop(){
SDL_Renderer *renderer = state->renderers[i]; SDL_Renderer *renderer = state->renderers[i];
if (state->windows[i] == NULL) if (state->windows[i] == NULL)
continue; continue;
SDL_SetRenderDrawColor(renderer, 0xA0, 0xA0, 0xA0, 0xFF); SDL_SetRenderDrawColor(renderer, 0x00, 0x00, 0x00, 0xFF);
SDL_RenderClear(renderer); SDL_RenderClear(renderer);
/* Wrap the cursor rectangle at the screen edges to keep it visible */ /* Wrap the cursor rectangle at the screen edges to keep it visible */