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.
This commit is contained in:
Philippe Houdoin
2004-08-14 09:59:16 +00:00
parent 41ea155878
commit f17ddd4884
4 changed files with 208 additions and 101 deletions
+3 -1
View File
@@ -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;