Hi, I was trying to make an OpenGL/SDL program with 3D graphics, but the code I've written doesn't work. I made an OpenGL/SDL program that displays in 2D with no problems, so I think my OpenGL code is the problem and not my SDL code (I'm not entirely sure though).
The program runs and displays a black window, and closes when I click the window's close button.
Attached is my C source, which is linked against SDL, SDLmain, OpenGL, and GLU.