[Scummvm-cvs-logs] CVS: residual main.cpp,1.50,1.51
Marcus Comstedt
marcus_c at users.sourceforge.net
Sun Feb 5 09:22:01 CET 2006
- Previous message: [Scummvm-cvs-logs] CVS: residual driver_sdl.cpp,NONE,1.1 driver_sdl.h,NONE,1.1 Makefile.common,1.21,1.22 driver.h,1.17,1.18 driver_gl.h,1.31,1.32 driver_tinygl.h,1.18,1.19 engine.cpp,1.101,1.102 timer.cpp,1.13,1.14
- Next message: [Scummvm-cvs-logs] CVS: scummvm/backends/psp README.PSP,1.4.2.4,1.4.2.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/residual
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29067
Modified Files:
main.cpp
Log Message:
Moved instantiation of g_driver a bit earlier, since it is used by e.g. the Timer class now.
Index: main.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/main.cpp,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- main.cpp 27 Aug 2005 16:08:44 -0000 1.50
+++ main.cpp 5 Feb 2006 17:21:00 -0000 1.51
@@ -158,6 +158,10 @@
atexit(quit);
+ if (TINYGL_GLOBAL)
+ g_driver = new DriverTinyGL(640, 480, 16, fullscreen);
+ else
+ g_driver = new DriverGL(640, 480, 24, fullscreen);
g_engine = new Engine();
g_resourceloader = new ResourceLoader();
g_localizer = new Localizer();
@@ -165,10 +169,6 @@
g_mixer->setVolume(255);
g_timer = new Timer();
g_smush = new Smush();
- if (TINYGL_GLOBAL)
- g_driver = new DriverTinyGL(640, 480, 16, fullscreen);
- else
- g_driver = new DriverGL(640, 480, 24, fullscreen);
g_imuse = new Imuse(20);
Bitmap *splash_bm = NULL;
- Previous message: [Scummvm-cvs-logs] CVS: residual driver_sdl.cpp,NONE,1.1 driver_sdl.h,NONE,1.1 Makefile.common,1.21,1.22 driver.h,1.17,1.18 driver_gl.h,1.31,1.32 driver_tinygl.h,1.18,1.19 engine.cpp,1.101,1.102 timer.cpp,1.13,1.14
- Next message: [Scummvm-cvs-logs] CVS: scummvm/backends/psp README.PSP,1.4.2.4,1.4.2.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list