[PATCH] libkms: Allocate dumb framebuffers as 32bpp if we claim they're x8r8g8b8.

2011-04-12 Thread Eric Anholt
modetest got all segfaulty after walking off the end of the 16bpp framebuffer that it was told was 32bpp. --- libkms/dumb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libkms/dumb.c b/libkms/dumb.c index 3be5f7a..fafef64 100644 --- a/libkms/dumb.c +++ b/libkms/dumb.c

[PATCH] libkms: Allocate dumb framebuffers as 32bpp if we claim they're x8r8g8b8.

2011-04-12 Thread Eric Anholt
modetest got all segfaulty after walking off the end of the 16bpp framebuffer that it was told was 32bpp. --- libkms/dumb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libkms/dumb.c b/libkms/dumb.c index 3be5f7a..fafef64 100644 --- a/libkms/dumb.c +++ b/libkms/dumb.c