Like in topic. I am developing game in team of two people - I am programming on Windows, official JDK while second programmer is working on Linux, OpenJDK. We are using the same LWJGL version. Code is working for me, but my teammate sees this message:

publicvoidupdate() {time++;GCore.renderer.startDrawing();logic.ship.draw(); //<-this lineif (In.keyboard.hold.one) {GCore.renderer.render(TL.black, SL.postProcess, WIDTH/2, HEIGHT/2, WIDTH, HEIGHT, 0, newShaderInput("time", time)); //this line is working even though it is using ShaderInput - its shader is using uniform float time. }

GL_INVALID_OPERATION is generated if there is no current program object.GL_INVALID_OPERATION is generated if the size of the uniform variable declared in the shader does not match the size indicated by the glUniform command.GL_INVALID_OPERATION is generated if location is an invalid uniform location for the current program object and location is not equal to -1.

The one most likely is that "location" is invalid. After line 160 of RenderEngine, make sure in[i].location is a valid value (not -1).

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org