From: Vic Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro: Video mode changing Date: Sun, 29 Jun 1997 21:17:42 -0400 Organization: Communications Accesibles Montreal Lines: 30 Message-ID: <33B70936.197F@cam.org> References: <33B6F085 DOT 600A9C46 AT CS DOT colostate DOT edu> Reply-To: tudor AT cam DOT org NNTP-Posting-Host: dynppp-63.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk SerDevian wrote: > Has anyone had any problems changing from one graphics mode to another > in Allegro programs? Is there any sort of odd procedure to follow to do > this? How should I go about doing this? There is no problem with changing modes. The problem is somewhere else. the program attached works fine... #include main() { allegro_init(); set_gfx_mode(GFX_AUTODETECT,320,200,0,0); textout_centre(screen,font,"resolution 320X200",SCREEN_W/2,SCREEN_H/2,5); delay(2000); set_gfx_mode(GFX_AUTODETECT,640,480,0,0); textout_centre(screen,font,"resolution 640X480",SCREEN_W/2,SCREEN_H/2,5); delay(2000); set_gfx_mode(GFX_AUTODETECT,800,600,0,0); textout_centre(screen,font,"resolution 800X600",SCREEN_W/2,SCREEN_H/2,5); delay(2000); } -- --> http://www.cam.org/~tudor <-- prick your finger it is done the moon has now eclipsed the sun the angel has spread it's wings the time has come for bitter things