RE: [AD] New graphics driver -- GFX_FORCE? |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> Is there any interest in adding a new graphics driver, GFX_FORCE? This
> forces Allegro to use a specific card, width, height, etc. regardless of
> the mode requested by the user or program (as long as it uses
> GFX_AUTODETECT), and is useful for situations such as laptops which only
> look nice in 800x600, or for forcing broken programs which only request
> 16bpp to use 15bpp when that's all that your card supports, etc.
i'm not sure if this would be of any use, as programs that request a mode
will most likely expect it to be set if set_gfx_mode does not fail. you will
tell me that people should use _color_depth and request the screen width and
height after that, but this is only academic :)
on the other hand, if you set up everything so it is transparent (eg the
screen global bitmap is set to the size expected by the coder and centered
in a larger actual video mode), then this could work.
how did you do it exactly ?
--
Lyrian