diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-07-27 21:55:20 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-07-27 21:55:20 +0000 |
commit | d15d76976b6e57a9f421ab034c6f841051b962f3 (patch) | |
tree | ab0c37c90af9f76158b96f195c05be9b221e9f42 /src/gui/listbox.cpp | |
parent | aa362286c725e17ec88aa46f8f6af9ca90d744b3 (diff) | |
download | mana-d15d76976b6e57a9f421ab034c6f841051b962f3.tar.gz mana-d15d76976b6e57a9f421ab034c6f841051b962f3.tar.bz2 mana-d15d76976b6e57a9f421ab034c6f841051b962f3.tar.xz mana-d15d76976b6e57a9f421ab034c6f841051b962f3.zip |
Committing merging opengl and sdl part 3 by Andrej
Diffstat (limited to 'src/gui/listbox.cpp')
-rw-r--r-- | src/gui/listbox.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/listbox.cpp b/src/gui/listbox.cpp index bf80589a..3f82fe1b 100644 --- a/src/gui/listbox.cpp +++ b/src/gui/listbox.cpp @@ -52,8 +52,10 @@ void ListBox::draw(gcn::Graphics *graphics) { if (i == mSelected) { if (useOpenGL) { +#ifdef USE_OPENGL dynamic_cast<gcn::OpenGLGraphics*>(graphics)->fillRectangle( gcn::Rectangle(0, y, getWidth(), fontHeight)); +#endif } else { dynamic_cast<gcn::SDLGraphics*>(graphics)->fillRectangle( |