lwjgl3 newbie texturing problem

Whats a good way to catch gl errors? I guess calling glGetError after every gl function call is not something you guys do?

Create a debug context and add a debug callback. glGetError() both gives you very little information and reduces performance by forcing the driver to run single-threaded.

What I do is, for every frame, check for a glError and if there is one, then I just print it and then fix the issue. It’s good for catching 1280 (or whatever… invalid parameter) and it forces you to NOT be lazy on your checking. Fixing errors as they appear.

I would of been more help if I actually did what I wanted to do…
Post my code for loading a texture
Read the code for your texture loading

I just payed attention to the shaders <3