Hi,
I’m currently trying to learn jogl, starting from small example programs. What I did is a program that draws a triangle and moves it to the right until it reaches the end of the canvas, and the starts again from the left.
Seems simple enough but I have problems with flickering. I enabled vsync using gl.setSwapInterval(1); and movements are time based, and in fact it moves smooth, but when I put the window near the center of the screen it starts flickering. If I move it again on the top or bottom it works fine. I can’t even imagine what this problem is, maybe someone can help me figure this out.
Thanks
P.S: english is not my native language if something is not clear please ask