i965: fallback bitmap operation on sandybridge

Need to bring back correct fb write with header to set pixel
write mask. Fallback for now.
This commit is contained in:
Zhenyu Wang
2010-09-28 15:50:59 +08:00
parent 3074b61f64
commit 45b37c4b12
@@ -326,9 +326,15 @@ intelBitmap(GLcontext * ctx,
const struct gl_pixelstore_attrib *unpack,
const GLubyte * pixels)
{
struct intel_context *intel = intel_context(ctx);
if (do_blit_bitmap(ctx, x, y, width, height,
unpack, pixels))
return;
/* FIXME */
if (intel->gen == 6)
return _swrast_Bitmap(ctx, x, y, width, height, unpack, pixels);
_mesa_meta_Bitmap(ctx, x, y, width, height, unpack, pixels);
}