From 9d612fc88b72d2e6a67f13e7c76100aefd49b61f Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Mon, 19 May 2003 08:53:47 +0000 Subject: [PATCH] Fixes --- src/java/org/lwjgl/input/Cursor.java | 5 +++++ src/java/org/lwjgl/opengl/BaseGL.java | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/java/org/lwjgl/input/Cursor.java b/src/java/org/lwjgl/input/Cursor.java index 8a9bcc64..ec854e69 100644 --- a/src/java/org/lwjgl/input/Cursor.java +++ b/src/java/org/lwjgl/input/Cursor.java @@ -43,6 +43,11 @@ package org.lwjgl.input; */ public class Cursor { + + static { + System.loadLibrary(Sys.getLibraryName()); + } + /** * The native handle to the cursor */ diff --git a/src/java/org/lwjgl/opengl/BaseGL.java b/src/java/org/lwjgl/opengl/BaseGL.java index 6a4bf270..6263a4eb 100644 --- a/src/java/org/lwjgl/opengl/BaseGL.java +++ b/src/java/org/lwjgl/opengl/BaseGL.java @@ -116,12 +116,12 @@ public class BaseGL extends Window { * Construct a fullscreen instance of GL. If the underlying OS does not * support fullscreen mode, then a window will be created instead. If this * fails too then an Exception will be thrown. - * + * * @param title The title of the window - * @param bpp Minimum bits per pixel - * @param alpha Minimum bits per pixel in alpha buffer - * @param depth Minimum bits per pixel in depth buffer - * @param stencil Minimum bits per pixel in stencil buffer + * @param bpp Minimum bits per pixel + * @param alpha Minimum bits per pixel in alpha buffer + * @param depth Minimum bits per pixel in depth buffer + * @param stencil Minimum bits per pixel in stencil buffer */ public BaseGL(String title, int bpp, int alpha, int depth, int stencil) { super(title, 0, 0, Display.getWidth(), Display.getHeight());