Re: [AD] OpenGL and upside down |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Tue, Mar 18, 2008 at 2:43 AM, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> Correct me if I'm wrong, but OpenGL shouldn't be aware of any "negative
> pitch" at all. It's just any Allegro and user code which locks a
> rectangle needs to keep in mind that ptr += rect.pitch might actually
> decrement ptr.
That's what I was thinking; Allegro would set itself to suit OpenGL,
rather than the other way around.
Pete