From f17ddd4884cccdbd15e7a3bebaeec32de4b6658e Mon Sep 17 00:00:00 2001 From: Philippe Houdoin Date: Sat, 14 Aug 2004 09:59:16 +0000 Subject: 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. --- progs/beos/sample.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'progs/beos/sample.cpp') 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; -- cgit v1.2.3