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
This commit is contained in:
parent
27c555cb7b
commit
8495ff9b7a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user