Re: [AD] negative colour components in primitives addon |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> From: Peter Wang <novalazy@xxxxxxxxxx>
> Subject: [AD] negative colour components in primitives addon
> To: alleg-developers@xxxxxxxxxx
> Date: Saturday, March 14, 2009, 7:43 AM
> This is the blinking white dots bug that Thomas reported in
> ex_prim.
>
> The first part of ex_prim passes colours with slightly
> negative
> components to al_put_pixel and al_draw_pixel, where the
> colours
> have been computed by shader_grad_any_2d_first and
> shader_grad_any_2d_step.
Should be fixed now. This was a bug in the way I introduced offsets to the line drawer to make its output match OpenGL line drawer as much as possible.
-SiegeLord