From 4869744cf1bf13ae9610cd7776bf6af75e2ba201 Mon Sep 17 00:00:00 2001 From: Brian Matzon Date: Sun, 30 Apr 2006 21:09:16 +0000 Subject: [PATCH] changed cursor support exception to lwjglexception --- src/java/org/lwjgl/input/Cursor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/lwjgl/input/Cursor.java b/src/java/org/lwjgl/input/Cursor.java index d2f51ffa..d4dab101 100644 --- a/src/java/org/lwjgl/input/Cursor.java +++ b/src/java/org/lwjgl/input/Cursor.java @@ -85,7 +85,7 @@ public class Cursor { */ public Cursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, IntBuffer delays) throws LWJGLException { if ((getCapabilities() & CURSOR_ONE_BIT_TRANSPARENCY) == 0) - throw new IllegalStateException("Native cursors not supported"); + throw new LWJGLException("Native cursors not supported"); BufferChecks.checkBuffer(images, width*height*numImages); if (!Mouse.isCreated()) throw new IllegalStateException("Mouse must be created before creating cursor objects");