diff options
author | Philippe Houdoin <[email protected]> | 2004-08-14 09:59:16 +0000 |
---|---|---|
committer | Philippe Houdoin <[email protected]> | 2004-08-14 09:59:16 +0000 |
commit | f17ddd4884cccdbd15e7a3bebaeec32de4b6658e (patch) | |
tree | b75b1cb7ff651ca4e683c9c49a216dcea1d97535 /progs/beos/sample.cpp | |
parent | 41ea1558786cade1c313cb86d6c50d8827b0a5f3 (diff) |
Fix demo.cpp, which wasn't working as expected.
Add a GLInfo app, a graphical tool displaying GL Info as a treeview.
Usefull to see which OpenGL renderer you use and which extension(s) is supported.
Convert the Makefile to be $(TOP)/configs/default-based.
Diffstat (limited to 'progs/beos/sample.cpp')
-rw-r--r-- | progs/beos/sample.cpp | 4 |
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; |