SDL OpenGL Blank Screen
I've not done programming in OpenGL and SDL for a while so I decided to write a small program that I'm going to keep on adding to and improving on as I progress.

Fallen at the first hurdle...

http://pastie.org/3313160

I have this program (which is quite unorganized) that compiles with no errors and gives me the typical blank screen that so many manage to achieve.

I've tried stepping through it from the main to the bottom over and over but I'm amiss.


I am now hoping someone experienced in OpenGL and SDL (although I suspect the problem is just to do with OpenGL) could browse through the code and hopefully the problem would jump out immediately.

Thank you for taking your time to help me in advance.


SDL OpenGL Blank Screen
===

I've not done programming in OpenGL and SDL for a while so I decided to write a small program that I'm going to keep on adding to and improving on as I progress.

Fallen at the first hurdle...

http://pastie.org/3313160

I have this program (which is quite unorganized) that compiles with no errors and gives me the typical blank screen that so many manage to achieve.

I've tried stepping through it from the main to the bottom over and over but I'm amiss.


I am now hoping someone experienced in OpenGL and SDL (although I suspect the problem is just to do with OpenGL) could browse through the code and hopefully the problem would jump out immediately.

Thank you for taking your time to help me in advance.

