diff options
Diffstat (limited to 'xc/lib/GL/mesa/src/drv/mga/mgapixel.c')
-rw-r--r-- | xc/lib/GL/mesa/src/drv/mga/mgapixel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xc/lib/GL/mesa/src/drv/mga/mgapixel.c b/xc/lib/GL/mesa/src/drv/mga/mgapixel.c index d970e49b4..72903c209 100644 --- a/xc/lib/GL/mesa/src/drv/mga/mgapixel.c +++ b/xc/lib/GL/mesa/src/drv/mga/mgapixel.c @@ -545,9 +545,9 @@ mgaDDDrawPixels( GLcontext *ctx, * negligble speedup when the buffers/images don't exactly * match: */ -#if 1 +#if 0 if (cpp == 2) { - if (!_mesa_convert_teximage( MESA_R5_G6_B5, + if (!_mesa_convert_teximage( MESA_FORMAT_RGB565, width, rows, address, bufferpitch, width, rows, @@ -558,7 +558,7 @@ mgaDDDrawPixels( GLcontext *ctx, return GL_FALSE; } } else { - if (!_mesa_convert_teximage( MESA_A8_R8_G8_B8, + if (!_mesa_convert_teximage( MESA_FORMAT_ARGB8888, width, rows, address, bufferpitch, width, rows, |