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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user