I just started opengl coding and bought myself a book to get some practise (opengl superbible 3th edition).
This book contains some great examples and explanations but i’m stuck somewhere (prolly something stupid)
I’m drawing some dots moving up and down, next 2 horizontal lines to split the screen intro 3 parts and then I wanted to try to show a rotating textured cube in between the middle lines. I tried some code from NEHE but it still does not work. My window gets black after the lines scene.
Does anybody has some time to help this rookie a hand ?
I uploaded my sourcecode here:
Thanks a lot for helping me out already