hrev48590 adds 1 changeset to branch 'master' old head: 27c555cb7bae26866cdb31f45dd38cea843c3b7d new head: 8495ff9b7abcca2956bc55f9e6d1d0954d71070f overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=8495ff9+%5E27c555c ---------------------------------------------------------------------------- 8495ff9: apps/glteapot: Don't lock, then issue BGLView::Resize * BGLView has it's own locking, this isn't the correct behaviour as you only lock for gl* calls * Resolves problems with window not scaling properly on proper llvmpipe [ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev48590 Commit: 8495ff9b7abcca2956bc55f9e6d1d0954d71070f URL: http://cgit.haiku-os.org/haiku/commit/?id=8495ff9 Author: Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> Date: Wed Dec 31 21:46:22 2014 UTC ---------------------------------------------------------------------------- 1 file changed, 2 insertions(+), 2 deletions(-) src/apps/glteapot/ObjectView.cpp | 4 ++-- ---------------------------------------------------------------------------- diff --git a/src/apps/glteapot/ObjectView.cpp b/src/apps/glteapot/ObjectView.cpp index 83645e4..6849aa6 100644 --- a/src/apps/glteapot/ObjectView.cpp +++ b/src/apps/glteapot/ObjectView.cpp @@ -551,10 +551,10 @@ ObjectView::MouseMoved(BPoint point, uint32 transit, const BMessage *msg) void ObjectView::FrameResized(float width, float height) { - LockGL(); - BGLView::FrameResized(width, height); + LockGL(); + width = Bounds().Width(); height = Bounds().Height(); fYxRatio = height / width;