[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> Attached are some asserts for graphics.c and quat.c. ASSERT seems
> necessary when the pointer in question is necessary for the function to
> continue. Some functions in graphics.c need the system_driver, but only
> for one line. At these times, I added an extra if clause and not ASSERT(
> system_driver ). I wasnt sure if system_driver is gauranteed to exist or
> not, but I saw an ASSERT in another function and decided to go through and
> add the rest.
Applied with a few corrections for the graphics.c part. Please try to follow
Allegro's coding conventions (3 spaces indent, no space within parentheses).
--
Eric Botcazou