Ah, tbh it was already getting late so I only tried the executable and didn't look at the source. Plus, I'm not that familiar with opengl so I probably couldn't tell what to improve anyway. I only use Delphi btw, no lazarus.