D:
I've been coding with jPCT in Java7 on Windows7x64 fine until yesterday.
I copied my project from my desktop (on exactly the same settings^) to carry on coding on my laptop today.
Windows installed an update and suddenly none of my jPCT projects work anymore.
It's moaning about commands like world.draw();
Here's the error log on my main project (it worked fine yesterday, the only change has been the windows update):
run:
[ Thu Oct 11 14:12:19 BST 2012 ] - ERROR:
Exception in thread "main" org.lwjgl.opengl.OpenGLException: Invalid operation (1282)
at org.lwjgl.opengl.Util.checkGLError(Util.java:59)
at org.lwjgl.opengl.GL20.glGetAttribLocation(GL20.java:1101)
at com.threed.jpct.GLSLShader.init(Unknown Source)
at com.threed.jpct.GLSLShader.beforeRendering(Unknown Source)
at com.threed.jpct.CompiledInstance.render(Unknown Source)
at com.threed.jpct.GLRenderer.drawVertexArray(Unknown Source)
at com.threed.jpct.World.draw(Unknown Source)
at com.threed.jpct.World.draw(Unknown Source)
at com.threed.jpct.World.draw(Unknown Source)
at com.threed.jpct.util.ShadowHelper.drawScene(Unknown Source)
at com.threed.jpct.util.ShadowHelper.drawScene(Unknown Source)
at voxeng5.Voxeng5.gameLoop(Voxeng5.java:256)
at voxeng5.Voxeng5.main(Voxeng5.java:49)
Java Result: 1
BUILD SUCCESSFUL (total time: 6 seconds)
I've tried updating the drivers and restarting, that didn't work.
I've tried changing the code from shad.draw() and all the complicated shadow handling to just world.draw(), that didn't work.
I've checked my OpenGL version: 3.1
What do I do?
??