Re: [AD] exupdate (was: Re: CVS: allegro/demo demo.c,1.23,1.24)

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Maybe someone should comb through the examples, as well.

Wouldn't be such a bad idea...

> exupdate had a couple obsolete notes that this patch fixes.

Aren't those still valid in DOS though (yeah, I know, as if...)?
What about the attched patch instead?

Evert


Index: allegro/examples/exupdate.c
===================================================================
RCS file: /cvsroot/alleg/allegro/examples/exupdate.c,v
retrieving revision 1.9
diff -u -r1.9 exupdate.c
--- allegro/examples/exupdate.c	11 Jul 2004 16:40:37 -0000	1.9
+++ allegro/examples/exupdate.c	12 Jul 2004 06:28:04 -0000
@@ -170,11 +170,17 @@
 		      "    + can use hardware acceleration when it is available\n"
 		      "    - drawing directly to vram can be slower than using a memory bitmap\n"
 		      "    - requires a card with enough video memory for two screen pages\n"
-		      "    - some VESA drivers have nasty bugs in the scrolling functions\n\n"
+#ifdef ALLEGRO_DOS
+		      "    - some VESA drivers have nasty bugs in the scrolling functions\n"
+#endif                      
+		      "\n"
 		      "3 = triple buffered (three pages of video memory)\n\n"
 		      "    + like page flipping, but faster and smoother\n"
 		      "    - requires a card with enough video memory for three screen pages\n"
-		      "    - only possible in mode-X (not win95), or with VBE 3.0 or VBE/AF\n\n"
+#ifdef ALLEGRO_DOS
+		      "    - only possible in mode-X (not in Windows), or with VBE 3.0 or VBE/AF\n"
+#endif                      
+		      "\n"
 		      "4 = double buffered (system bitmap)\n\n"
 		      "    + as easy as normal double buffering\n"
 		      "    + system bitmaps can be hardware accelerated on some platforms\n"


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/