From: Andreas Oberritter Date: Sun, 22 Jan 2006 12:24:55 +0000 (+0000) Subject: variable double_buffer is not used when compiled with SDL X-Git-Tag: 2.6.0~4320 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/eb464659563590850a287589992f32021fc52369 variable double_buffer is not used when compiled with SDL --- 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 my_dc; @@ -163,7 +161,7 @@ int main(int argc, char **argv) ePtr my_dc; gFBDC::getInstance(my_dc); - double_buffer = my_dc->haveDoubleBuffering(); + int double_buffer = my_dc->haveDoubleBuffering(); #endif ePtr my_lcd_dc;