Properly rendering background fill color when creating SDL windows

This commit is contained in:
Charles Dang 2016-03-29 20:20:24 +11:00
parent 4336e0fb03
commit 576a88ea7d

View file

@ -55,6 +55,8 @@ twindow::twindow(const std::string& title,
pixel_format_ = info.texture_formats[0];
fill(0,0,0);
render();
}
twindow::~twindow()