delorie.com/archives/browse.cgi | search |
Date: | Tue, 4 Feb 1997 16:32:24 +0100 (MET) |
From: | Jan Safranek <xsafran2 AT informatics DOT muni DOT cz> |
To: | konference <djgpp AT delorie DOT com>, listserv AT muni DOT cz |
Subject: | Virtual screen in ALLEGRO |
Message-ID: | <Pine.SGI.3.95.970204162507.29212A-100000@aisa.fi.muni.cz> |
MIME-Version: | 1.0 |
I use allegro 2.11 with 640x480 graphics and I need 4 "pages" - I initialize graphics with set_gfx_mode(GFX_AUTODETECT, 640, 480, 640, 4*480) But if I display VIRTUAL_H and VIRTUAL_W, I get 1024 x 1024. This size of virtual screen support only 2 "pages" so I must always swap pages from/to memory and it slows down the program. Is it bug in allegro or in VESA standard? (I tested it on 6 computers with VESA 2.0)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |