I have a game in development that uses LWJGL to draw textures for tiles at locations in a grid. Then I draw textures for Objects on top of the grid; either characters or interactable items.
I exported the file to a JAR then used jarsplice to include lwgjl.jar and slick.jar in the same jar file.
The textures all draw where they are supposed to but sometimes textures (that either are on, or have been on the screen at some point) flicker in seemingly random locations (not necessarily the location that they appeared at). These flickers can occur while the object is still being drawn in the proper location. The flickers occur at an increasing rate which eventually leads to a game crash.
The weirdest part is that the bug does show, in even the slightest way, while the game is run in eclipse. It only shows up when the program is run as a JAR file.
Any ideas or solutions?