diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-04-25 18:10:15 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:47 +0100 |
commit | 1a8b5160d105b50f20cb3cc24443b1f41ac6c1af (patch) | |
tree | ce1bb575c9e934cd97858c6c5e2793c4427778ee /src/menu/frame_background_color.cpp | |
parent | 647660014b2f506d19c4feedc06a45b514035d5b (diff) | |
download | usdx-1a8b5160d105b50f20cb3cc24443b1f41ac6c1af.tar.gz usdx-1a8b5160d105b50f20cb3cc24443b1f41ac6c1af.tar.xz usdx-1a8b5160d105b50f20cb3cc24443b1f41ac6c1af.zip |
added SDL_Surface* display to all repaint/draw methods
Diffstat (limited to '')
-rw-r--r-- | src/menu/frame_background_color.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |