public static void setCursor(String tex, Vector2 hotspot)
	{
		CursorLoader.tex = ResourceLoader.getTexture(tex);
		CursorLoader.hotspot = hotspot;
		
		if(tex != null)
		{
			Cursor emptyCursor;
			try {
				emptyCursor = new Cursor(1, 1, 0, 0, 1, BufferUtils.createIntBuffer(1), null);
				Mouse.setNativeCursor(emptyCursor);
			} catch (LWJGLException e) {
				e.printStackTrace();
			}
		} else
		{
			try {
				Mouse.setNativeCursor(null);
			} catch (LWJGLException e) {
				e.printStackTrace();
			}
		}
	}