Re: [AD] Resolution Picker

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


On Mon, 2004-01-05 at 22:50, Thomas Fjellstrom wrote:
> >
> > It's simple to add the mode though - just insert it into the list in
> > src/modesel.c and recompile.
> >
> 
> I asumed it grabbed the various resolutions from allegro :o shouldn't it?
> 

Well, if it does that, then it's buggy. In any case - the attached patch
makes 1280x960 work.

-- 
Elias Pschernig <elias@xxxxxxxxxx>
Index: src/modesel.c
===================================================================
RCS file: /cvsroot/alleg/allegro/src/modesel.c,v
retrieving revision 1.30
diff -u -r1.30 modesel.c
--- src/modesel.c	13 Oct 2003 08:58:38 -0000	1.30
+++ src/modesel.c	5 Jan 2004 19:44:47 -0000
@@ -68,6 +68,7 @@
    ALL_BPP(640,  480 ),
    ALL_BPP(800,  600 ),
    ALL_BPP(1024, 768 ),
+   ALL_BPP(1280, 960 ),
    ALL_BPP(1280, 1024),
    ALL_BPP(1600, 1200),
    ALL_BPP(80,   80  ),


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