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

This probably broke the swrast DRI driver when running X in depth 16.
(cherry picked from commit 6ec259eb17)
This commit is contained in:
Michel Dänzer 2010-03-26 16:29:59 +01:00
parent 77c30c5915
commit b005e75177

View file

@ -240,7 +240,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) \