[Scummvm-cvs-logs] CVS: scummvm/scumm thumbnail.cpp,1.7,1.8

Eugene Sandulenko sev at users.sourceforge.net
Tue Sep 20 11:17:35 CEST 2005


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19154/scumm

Modified Files:
	thumbnail.cpp 
Log Message:
Normalize use of DISABLE_SCALERS. Now it really disables all scalers
except essential Normal1x. Also thumbnails get compiled unconditionally
so we get them on all platforms, even those which never display them.

Sorted out mess brought to sdl backend by epoc maintainer. He misused
__SYMBIAN32__ where DISABLE_SCALERS is more appropriate.


Index: thumbnail.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/thumbnail.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- thumbnail.cpp	30 Jul 2005 21:11:32 -0000	1.7
+++ thumbnail.cpp	20 Sep 2005 18:16:09 -0000	1.8
@@ -102,9 +102,7 @@
 void ScummEngine::saveThumbnail(Common::OutSaveFile *file) {
 	Graphics::Surface thumb;
 
-#if !defined(DISABLE_SCALERS) && !defined(DISABLE_HQ_SCALERS) // fcn has dep on HQ_SCALERS: thumbnail gets created as empty
 	if (!createThumbnailFromScreen(&thumb))
-#endif
 		thumb.create(kThumbnailWidth, kThumbnailHeight2, sizeof(uint16));
 
 	ThumbnailHeader header;





More information about the Scummvm-git-logs mailing list