RE: [AD] Potential color conversion bug |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Mon, 2005-06-20 at 10:41 -0700, Robert Ohannessian wrote:
> > On Mon, 2005-06-20 at 10:14 -0700, Robert Ohannessian wrote:
> Something's fishy here. Can you trace down AGL and see which vtable
> function ends up being called here, and which path is taken?
>
> Thanks.
>
Yes, just did. In the memory case, it uses
allegro_gl_screen_blit_from_memory, and then blits using glDrawPixels,
in the video case, it uses allegro_gl_screen_blit_to_self, and then
blits using glBegin(GL_QUADS);
Which looks right to me..
But something actually is fishy, because it doesn't blit to (0/0), but
somewhere in the middle of the screen - and a white rectangle appears
during the second test. Maybe the example misses
allegro_set_projection() or something?
--
Elias Pschernig