hrev44993 adds 1 changeset to branch 'master' old head: ad99f882d332df8e2ad38587380eaa73f0b63be2 new head: 1d95a50e0506fbbb9a2e090d4efed5e43b5793c7 overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=1d95a50+%5Ead99f88 ---------------------------------------------------------------------------- 1d95a50: Haiku: Fix check of bitmap size. * We now have basic Gallium software rendering! * Still lots more work to do. [ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev44993 Commit: 1d95a50e0506fbbb9a2e090d4efed5e43b5793c7 URL: http://cgit.haiku-os.org/haiku/commit/?id=1d95a50 Author: Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> Date: Mon Dec 10 02:37:30 2012 UTC ---------------------------------------------------------------------------- 1 file changed, 3 insertions(+), 2 deletions(-) src/add-ons/opengl/swpipe/SoftwareRenderer.cpp | 5 +++-- ---------------------------------------------------------------------------- diff --git a/src/add-ons/opengl/swpipe/SoftwareRenderer.cpp b/src/add-ons/opengl/swpipe/SoftwareRenderer.cpp index 77cd669..fc60df2 100644 --- a/src/add-ons/opengl/swpipe/SoftwareRenderer.cpp +++ b/src/add-ons/opengl/swpipe/SoftwareRenderer.cpp @@ -174,9 +174,10 @@ SoftwareRenderer::SwapBuffers(bool vsync) // check the bitmap size still matches the size if (fInfo->window_bounds.bottom - fInfo->window_bounds.top - != fBitmap->Bounds().IntegerHeight() + 1 + != fBitmap->Bounds().IntegerHeight() || fInfo->window_bounds.right - fInfo->window_bounds.left - != fBitmap->Bounds().IntegerWidth() + 1) { + != fBitmap->Bounds().IntegerWidth()) { + ERROR("%s: Bitmap size doesn't match size!\n", __func__); return; } uint8 bytesPerPixel = fInfo->bits_per_pixel / 8;