summaryrefslogtreecommitdiff
path: root/src/video/allegro_v.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/allegro_v.cpp')
-rw-r--r--src/video/allegro_v.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video/allegro_v.cpp b/src/video/allegro_v.cpp
index 5ddc8b808..9b5b2e1d9 100644
--- a/src/video/allegro_v.cpp
+++ b/src/video/allegro_v.cpp
@@ -56,7 +56,7 @@ void VideoDriver_Allegro::MakeDirty(int left, int top, int width, int height)
_num_dirty_rects++;
}
-static void DrawSurfaceToScreen()
+void VideoDriver_Allegro::Paint()
{
PerformanceMeasurer framerate(PFE_VIDEO);
@@ -524,7 +524,7 @@ void VideoDriver_Allegro::MainLoop()
UpdateWindows();
CheckPaletteAnim();
- DrawSurfaceToScreen();
+ this->Paint();
}
/* If we are not in fast-forward, create some time between calls to ease up CPU usage. */