RE: [AD] GFX_SAFE under Windows |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> I'm all for changing the behavior or GFX_SAFE to make it safer. The only
> big problem I have with it is that set_gfx_mode is a horrible function (at
> least, the last time I looked at it). Its already hard to predict what it
> will do from looking at the code. Its recursive, long, has a ton of if
> statements. I may be exagerating a little, but adding more code to make
> it behave differently based on the OS will just make it uglier.
have a look at update_dialog as well. although not recursive, it's a bit
hard to see what it does with mouse stuff and double clicks :)
--
Lyrian