Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4338 → Rev 4339

/branches/dynload/kernel/genarch/src/fb/fb.c
456,7 → 456,7
pixelbytes = 4;
break;
default:
panic("Unsupported visual.\n");
panic("Unsupported visual.");
}
xres = props->x;
488,15 → 488,15
backbuf = (uint8_t *) malloc(bbsize, 0);
if (!backbuf)
panic("Unable to allocate backbuffer.\n");
panic("Unable to allocate backbuffer.");
glyphs = (uint8_t *) malloc(glyphsize, 0);
if (!glyphs)
panic("Unable to allocate glyphs.\n");
panic("Unable to allocate glyphs.");
bgscan = malloc(bgscanbytes, 0);
if (!bgscan)
panic("Unable to allocate background pixel.\n");
panic("Unable to allocate background pixel.");
memsetb(backbuf, bbsize, 0);