As a beginner to learn OpenGL on LearnOpengl recently, I found I failed to use glitter, OpenGL with Xcode to draw something as expected.
Following the guideline written in readme, I copy the whole code about drawing triangle into glitter's main.cpp
And then Xcode successfully compile the whole project and run. But it turned out to show nothing, which I suppose would be a window containing a triangle.
So did I miss something in following the guideline or the program is literally meant to do nothing ?
As a beginner to learn OpenGL on LearnOpengl recently, I found I failed to use glitter, OpenGL with Xcode to draw something as expected.
Following the guideline written in readme, I copy the whole code about drawing triangle into glitter's main.cpp And then Xcode successfully compile the whole project and run. But it turned out to show nothing, which I suppose would be a window containing a triangle.
So did I miss something in following the guideline or the program is literally meant to do nothing ?