How can I make OpenGL draw something using VBOs in XCODE?
问题 Good evening, Right now I'm trying to run the following code using Xcode, but it has been impossible so far. The code is a from a simple tutorial I found online, and the code is supposed to simply draw a triangle using OpenGL and VBOs. If I try the code using Visual Studio, I actually get the expected result with no problems at all. However, when I try to run the code using Xcode, I only get a black screen. To setup the project in Xcode, I installed GLEW and FreeGlut using MacPorts and then I