Re: [AD] No more video/system bitmaps |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
No more video/system bitmaps> I propose this modification to
al_create_bitmap():
> Remove the "type" parameter, and add a "usage" parameter.
There would definitely need to still be a way of explicitly creating a
memory bitmap. At the moment it's quite common to use create_bitmap and then
directly access its line[] array, knowing that it's safe to do so because
it's a memory bitmap.
If it could randomly get promoted to a video bitmap then that could really
screw things up.