Skip to content

not so much of an issue, as just a quick thought. #4

@jcroyle00

Description

@jcroyle00

in void App::Render()
you may add a call to SDL_SetRenderDrawColor( Renderer, 0, 0, 0, 255 );
at top just above SDL_RenderClear(Renderer);
as is now if user tries to draw a primitive with say
SDL_Rect tRect;
tRect.x = x;
tRect.y = y;
tRect.w = tWi;
tRect.h = tHi;

SDL_SetRenderDrawColor( renderer, 255, 0, 0, 255 );
SDL_RenderDrawRect(renderer,&tRect);

they will get a solid red screen

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions