Original Post
Hi I have created OpenGL device and trying render it in thread. But rendering seems to be flickering and even if i do only clear screen then it also flickers. If i use Timer Rather then Thread then it's working perfect but i donot want to use windows timer. In Thread i am checking interval of time and rendering in time of interval like render each frame in 50 ms using QueryPerformanceCounter functions. Please suggest me if anyone knows what is problem ?