I just wanted to share what it took to draw a simple yellow triangle on a black background in OpenGL|ES. I hope it will give my Ruby friends and Haskell friends an aneurysm.
To show this:
I had to do this:
//The headers
#include <SDL/SDL.h>
#include <SDL/SDL_opengles.h>
//Screen attributes
const int SCREEN_WIDTH = 480;
const int SCREEN_HEIGHT = 320;
const int SCREEN_BPP [...]