fix _DrawDestMask[0][0] typos
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 2 Oct 2004 22:38:43 +0000 (22:38 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 2 Oct 2004 22:38:43 +0000 (22:38 +0000)
src/mesa/drivers/dri/unichrome/via_span.c

index 4fdb1aa..693b6de 100644 (file)
     GLushort p;                                                        \
     char *buf, *read_buf;                                              \
     p = 0;                                                             \
-    if (vmesa->glCtx->Color._DrawDestMask[0][0] == __GL_BACK_BUFFER_MASK) {    \
+    if (vmesa->glCtx->Color._DrawDestMask[0] == __GL_BACK_BUFFER_MASK) {       \
        buf = (char *)(vmesa->drawMap);                                 \
        read_buf = (char *)(vmesa->readMap);                            \
     }                                                                  \
     GLuint p;                                                          \
     char *buf, *read_buf;                                              \
     p = 0;                                                             \
-    if (vmesa->glCtx->Color._DrawDestMask[0][0] == __GL_BACK_BUFFER_MASK) {    \
+    if (vmesa->glCtx->Color._DrawDestMask[0] == __GL_BACK_BUFFER_MASK) {       \
        buf = (char *)(vmesa->drawMap);                                 \
        read_buf = (char *)(vmesa->readMap);                            \
     }                                                                  \