Recently I have been working on shadow mapping, and have found some(what look like) good tutorials.
However, they all are in C++ and they all use GLUT.
It looks like they need this line:
1
| glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_ALPHA | GLUT_DEPTH); |
If I understand it correctly, I shouldn't need to worry about the first 3 modes,
But I am guessing I need either a render buffer, or some sort of pixel format in display.create() to replace the fourth mode. Or am I wrong, and I don't need that at all?

Any help is greatly appreciated.
~OpenGLShaders