Its been about 4 days I've started learning OpenGL and I am using GLFW as my preferred Window and event handling library. I am having these flickering stripes on the screen in all of my test programs. I know it has something to do with the glfwSwapInterval() function which "selects the minimum number of monitor vertical retraces that should occur between two
buffer swaps." I've tried passing different values to it and the screen flickering slows down but doesn't stop. I noticed I had to hold the esc key longer to break out of the loop instead of just pressing it. Whats happening? lol. I really need some help to fix it otherwise I won't be able to continue learning the API. Have searched the web, found something called wglext.h which has a function(apparently it only works in windows) that is supposed to fix it,but couldn't use it. Please help me solve this problem one way or the other.