Properly rendering background fill color when creating SDL windows
This commit is contained in:
parent
4336e0fb03
commit
576a88ea7d
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,8 @@ twindow::twindow(const std::string& title,
|
|||
pixel_format_ = info.texture_formats[0];
|
||||
|
||||
fill(0,0,0);
|
||||
|
||||
render();
|
||||
}
|
||||
|
||||
twindow::~twindow()
|
||||
|
|
Loading…
Add table
Reference in a new issue