Skip to content

Commit

Permalink
Fix a compilation error in the SDL2 tool.
Browse files Browse the repository at this point in the history
The error was introduced by the removal of sdl::twindow::clear()
in commit 03c0efe.
  • Loading branch information
mordante committed Jun 13, 2014
1 parent 152d50d commit 7b07dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/sdl2/sdl2.cpp
Expand Up @@ -162,7 +162,7 @@ int main()
bool run = true;
while(run) {
if(dirty) {
window.clear();
window.fill(0, 0, 0, 0);
draw_command_line(window, line);
draw_command_history(window, history);
dirty = false;
Expand Down

0 comments on commit 7b07dd3

Please sign in to comment.