Am still having trouble with enabling VSync.
My rendering loop looks currently like this:
while (!Display.isCloseRequested()) {
input.checkInput();
gfx.drawGL();
Display.update(); // swap buffers without input processing
Display.sync(480); // proper sync
updateFPS();
}
as long as I don't enable vsync, this works perfectly, I still use the HWCursor, but there is almost no lag.
Problem is, whenever I enable vsync, I get the reported ~35ms Input lag, tried several ways, always the lag.
I'm trying to make something like a 2D RTS, so when scrolling, you can see alot of v-line issues without vsync.
It's obviously possible to use vsync without having input lag, I'm just interested if this can be fixed without looking alot in the subroutines of the procedure and trying to fix it
