From 1a8b5160d105b50f20cb3cc24443b1f41ac6c1af Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 25 Apr 2010 18:10:15 +0200 Subject: added SDL_Surface* display to all repaint/draw methods --- src/menu/frame_background_color.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/menu/frame_background_color.cpp') diff --git a/src/menu/frame_background_color.cpp b/src/menu/frame_background_color.cpp index 3c3adfd8..4f37b184 100644 --- a/src/menu/frame_background_color.cpp +++ b/src/menu/frame_background_color.cpp @@ -33,7 +33,7 @@ namespace usdx { } - void FrameBackgroundColor::draw(void) const + void FrameBackgroundColor::draw(SDL_Surface* display) const { glClearColor(color.get_red(), color.get_green(), color.get_blue(), 0); glClear(GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT); -- cgit v1.2.3