Polytonic / Glitter

Dead Simple OpenGL
http://polytonic.github.io/Glitter/
2.48k stars 418 forks source link

[Max OS 10.14.5 / Xcode 10.3]OpenGL not drawing anything with Xcode on learnopengl #56

Closed Jack12xl closed 5 years ago

Jack12xl commented 5 years ago

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. image

So did I miss something in following the guideline or the program is literally meant to do nothing ?

Jack12xl commented 5 years ago

Problem solved I only build it not run the large program ![Uploading suicide.jpg…]()