variable double_buffer is not used when compiled with SDL
authorAndreas Oberritter <obi@opendreambox.org>
Sun, 22 Jan 2006 12:24:55 +0000 (12:24 +0000)
committerAndreas Oberritter <obi@opendreambox.org>
Sun, 22 Jan 2006 12:24:55 +0000 (12:24 +0000)
main/enigma.cpp

index c868902..2c71922 100644 (file)
@@ -153,8 +153,6 @@ int main(int argc, char **argv)
        ePython python;
        eMain main;
        
        ePython python;
        eMain main;
        
-       int double_buffer = 0;
-
 #if 1
 #ifdef SDLDC
        ePtr<gSDLDC> my_dc;
 #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);
        
        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;
 #endif
 
        ePtr<gLCDDC> my_lcd_dc;