Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions