dri/swrast: Fix missed conversion of one pixel pointer increment.

This probably broke the swrast DRI driver when running X in depth 16.
This commit is contained in:
Michel Dänzer 2010-03-26 16:29:59 +01:00
parent ca1c8a183d
commit 6ec259eb17

View file

@ -257,7 +257,7 @@ static const GLubyte kernel[16] = {
struct swrast_renderbuffer *xrb = swrast_renderbuffer(rb);
#define INIT_PIXEL_PTR(P, X, Y) \
GLushort *P = (GLushort *)row;
#define INC_PIXEL_PTR(P) P += 2
#define INC_PIXEL_PTR(P) P++
#define STORE_PIXEL(DST, X, Y, VALUE) \
STORE_PIXEL_R5G6B5(DST, X, Y, VALUE)
#define FETCH_PIXEL(DST, SRC) \