Commit 2b327c18 authored by Erik Faye-Lund 's avatar Erik Faye-Lund

HACK: mesa/main: use R8-textures instead of A8 for glBitmap in display lists

parent 98377b08
......@@ -906,7 +906,7 @@ build_bitmap_atlas(struct gl_context *ctx, struct gl_bitmap_atlas *atlas,
_mesa_init_teximage_fields(ctx, atlas->texImage,
atlas->texWidth, atlas->texHeight, 1, 0,
GL_ALPHA, MESA_FORMAT_A_UNORM8);
GL_RED, MESA_FORMAT_R_UNORM8);
/* alloc image storage */
if (!ctx->Driver.AllocTextureImageBuffer(ctx, atlas->texImage)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment