Texture size: 446x222x32
org.lwjgl.opengl.OpenGLException: Invalid value (1281)
at org.lwjgl.opengl.Util.checkGLError(Util.java:54)
at org.lwjgl.opengl.GL11.glTexImage2D(GL11.java:2928)
at spel.Tools.loadTexture(Tools.java:63)
at spel.Game.glInit(Game.java:1863)
at spel.Game.initialize(Game.java:642)
at spel.Game.execute(Game.java:162)
at spel.Game.main(Game.java:2282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1188)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1134)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:983)
at com.sun.javaws.Launcher.run(Launcher.java:121)
at java.lang.Thread.run(Thread.java:619)
This texture is a non power of 2 texture, my graphics card does not support it.