Hi, I recently thought about doing a 2D game engine in OpenGL. Now, before I even started, I ran into some problems. Since I am very limited in my C/C++ knowledge I searched for other languages which utilizes OpenGL and had a closer look at the article here: http://games.freebasic.net/BASICGaming/Issue3/LachieLesson2/GL2D/gL2D_tut_1.html

Now I learned that almost all of that stuff is now deprecated (All the math stuff (glPushMatrix, glTranslate, glRotate ...) and all immediate rendering (glBegin, glVertex) etc. Now here's my question: is there a tutorial (best for Object Pascal) for building an OpenGL 2D engine which does not use deprecated stuff?
My second problem is what library I'll use for windowing, input etc.? Should I use SDL, so I can reuse some stuff of my SDL based engine, (Free)Glut, or something totally different? (Yes, I got that OpenGL superbible in an older (used) issue, but as said it's C/C++ and mainly about 3D programming).

Maybe a tutorial articles series here on PGD would be helpful. Something like that SDL tutorial (Artillery Game) by Jason but ported to OpenGL ...