Commit 20483400 authored by Blue Swirl's avatar Blue Swirl
Browse files

Also fix 24 bit depth

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4751 c046a42c-6fe2-441c-8c8c-71466251a162
parent 33b6939f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -266,6 +266,8 @@ static void tcx24_update_display(void *opaque)

    if (ts->ds->depth != 32)
            return;
    if (ts->ds->width != ts->width || ts->ds->height != ts->height)
        dpy_resize(ts->ds, ts->width, ts->height);
    page = ts->vram_offset;
    page24 = ts->vram24_offset;
    cpage = ts->cplane_offset;