mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 01:00:10 +01:00
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:
parent
ca1c8a183d
commit
6ec259eb17
1 changed files with 1 additions and 1 deletions
|
|
@ -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) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue