Displaying background in white for better lisibility.
This commit is contained in:
parent
af6ae7ae22
commit
9b6ac3c145
|
|
@ -38,7 +38,7 @@ inline void display_update(void)
|
|||
|
||||
inline void display_clear(void)
|
||||
{
|
||||
SDL_SetRenderDrawColor(renderer, C_BLACK);
|
||||
SDL_SetRenderDrawColor(renderer, C_WHITE);
|
||||
SDL_RenderClear(renderer);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
#include "vector2d.h"
|
||||
|
||||
#define C_BLACK 0, 0, 0, 255
|
||||
#define C_WHITE 255, 255, 255, 255
|
||||
|
||||
#define DISPLAY_WIDTH 396
|
||||
#define DISPLAY_HEIGHT 224
|
||||
|
|
|
|||
Loading…
Reference in New Issue