Re: [AD] desktop resolution (2) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Eric Botcazou wrote:
>
> I've coded the general framework for the desktop resolution getter function:
Cool
[snip]
> Here's the current state of each port with regard to the new method:
> - DOS: done (NULL method)
I think it should explicitly set the values to 0 (unless it does, I
haven't looked at the patch).
That would avoid the type of error where the user would do:
int x, y;
get_desktop_rez(&x, &y);
and expect coherent values...
[snip]
--
- Robert J Ohannessian
"Microsoft code is probably O(n^20)" (My CS teacher)