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:
@@ -551,10 +551,10 @@ ObjectView::MouseMoved(BPoint point, uint32 transit, const BMessage *msg)
|
|||||||
void
|
void
|
||||||
ObjectView::FrameResized(float width, float height)
|
ObjectView::FrameResized(float width, float height)
|
||||||
{
|
{
|
||||||
LockGL();
|
|
||||||
|
|
||||||
BGLView::FrameResized(width, height);
|
BGLView::FrameResized(width, height);
|
||||||
|
|
||||||
|
LockGL();
|
||||||
|
|
||||||
width = Bounds().Width();
|
width = Bounds().Width();
|
||||||
height = Bounds().Height();
|
height = Bounds().Height();
|
||||||
fYxRatio = height / width;
|
fYxRatio = height / width;
|
||||||
|
|||||||
Reference in New Issue
Block a user