summaryrefslogtreecommitdiffstats
path: root/progs/beos/sample.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'progs/beos/sample.cpp')
-rw-r--r--progs/beos/sample.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/progs/beos/sample.cpp b/progs/beos/sample.cpp
index 7b8515b275c..a86a118747f 100644
--- a/progs/beos/sample.cpp
+++ b/progs/beos/sample.cpp
@@ -92,8 +92,10 @@ void SampleGLView::AttachedToWindow(void)
void SampleGLView::FrameResized(float newWidth, float newHeight)
{
+ BGLView::FrameResized(newWidth, newHeight);
+
LockGL();
- BGLView::FrameResized(width, height);
+
width = newWidth;
height = newHeight;