diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2006-01-22 12:24:55 +0000 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2006-01-22 12:24:55 +0000 |
| commit | eb464659563590850a287589992f32021fc52369 (patch) | |
| tree | bcbc49b44b7ce09b0619f911f499b29949c0bb23 /main/enigma.cpp | |
| parent | 3e3614190d80a01d8c871d7f7243f2cc3a716ec4 (diff) | |
| download | enigma2-eb464659563590850a287589992f32021fc52369.tar.gz enigma2-eb464659563590850a287589992f32021fc52369.zip | |
variable double_buffer is not used when compiled with SDL
Diffstat (limited to 'main/enigma.cpp')
| -rw-r--r-- | main/enigma.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/main/enigma.cpp b/main/enigma.cpp index c868902f..2c719225 100644 --- a/main/enigma.cpp +++ b/main/enigma.cpp @@ -153,8 +153,6 @@ int main(int argc, char **argv) ePython python; eMain main; - int double_buffer = 0; - #if 1 #ifdef SDLDC ePtr<gSDLDC> my_dc; @@ -163,7 +161,7 @@ int main(int argc, char **argv) ePtr<gFBDC> my_dc; gFBDC::getInstance(my_dc); - double_buffer = my_dc->haveDoubleBuffering(); + int double_buffer = my_dc->haveDoubleBuffering(); #endif ePtr<gLCDDC> my_lcd_dc; |
