You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(134) |
Sep
(52) |
Oct
(13) |
Nov
(342) |
Dec
(163) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(44) |
Feb
(62) |
Mar
(158) |
Apr
(38) |
May
(70) |
Jun
(58) |
Jul
(104) |
Aug
(207) |
Sep
(83) |
Oct
(122) |
Nov
(23) |
Dec
(49) |
| 2004 |
Jan
(119) |
Feb
(132) |
Mar
(192) |
Apr
(140) |
May
(77) |
Jun
(74) |
Jul
(201) |
Aug
(63) |
Sep
(102) |
Oct
(70) |
Nov
(173) |
Dec
(78) |
| 2005 |
Jan
(174) |
Feb
(197) |
Mar
(105) |
Apr
(59) |
May
(77) |
Jun
(43) |
Jul
(21) |
Aug
(18) |
Sep
(47) |
Oct
(37) |
Nov
(74) |
Dec
(50) |
| 2006 |
Jan
(44) |
Feb
(19) |
Mar
(32) |
Apr
(24) |
May
(31) |
Jun
(55) |
Jul
(138) |
Aug
(28) |
Sep
(12) |
Oct
(41) |
Nov
(58) |
Dec
(24) |
| 2007 |
Jan
(28) |
Feb
(14) |
Mar
(10) |
Apr
(68) |
May
(30) |
Jun
(26) |
Jul
(18) |
Aug
(63) |
Sep
(19) |
Oct
(29) |
Nov
(20) |
Dec
(10) |
| 2008 |
Jan
(38) |
Feb
(7) |
Mar
(37) |
Apr
(120) |
May
(41) |
Jun
(36) |
Jul
(39) |
Aug
(24) |
Sep
(28) |
Oct
(30) |
Nov
(36) |
Dec
(75) |
| 2009 |
Jan
(46) |
Feb
(22) |
Mar
(50) |
Apr
(70) |
May
(134) |
Jun
(105) |
Jul
(75) |
Aug
(34) |
Sep
(38) |
Oct
(34) |
Nov
(19) |
Dec
(20) |
| 2010 |
Jan
(11) |
Feb
(20) |
Mar
(65) |
Apr
(83) |
May
(104) |
Jun
(73) |
Jul
(78) |
Aug
(57) |
Sep
(43) |
Oct
(35) |
Nov
(9) |
Dec
(4) |
| 2011 |
Jan
(21) |
Feb
(11) |
Mar
(18) |
Apr
(10) |
May
(18) |
Jun
(15) |
Jul
(48) |
Aug
(25) |
Sep
(17) |
Oct
(45) |
Nov
(15) |
Dec
(12) |
| 2012 |
Jan
(21) |
Feb
(9) |
Mar
(12) |
Apr
(9) |
May
(9) |
Jun
(5) |
Jul
(1) |
Aug
(10) |
Sep
(12) |
Oct
(1) |
Nov
(28) |
Dec
(5) |
| 2013 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2016 |
Jan
(2) |
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
|
8
(1) |
9
|
10
|
11
(3) |
12
|
13
|
14
|
|
15
|
16
|
17
|
18
|
19
|
20
(6) |
21
|
|
22
|
23
(8) |
24
(6) |
25
|
26
(10) |
27
(3) |
28
(1) |
|
29
|
30
(2) |
31
(1) |
|
|
|
|
|
From: <eli...@us...> - 2006-10-20 12:55:07
|
Revision: 2589
http://svn.sourceforge.net/java-game-lib/?rev=2589&view=rev
Author: elias_naur
Date: 2006-10-20 05:55:01 -0700 (Fri, 20 Oct 2006)
Log Message:
-----------
AWTGears: Set background of window to black to avoid some resizing artifacts
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTGears.java
Modified: trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTGears.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTGears.java 2006-10-20 12:36:51 UTC (rev 2588)
+++ trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTGears.java 2006-10-20 12:55:01 UTC (rev 2589)
@@ -32,6 +32,7 @@
package org.lwjgl.test.opengl.awt;
import java.awt.Frame;
+import java.awt.Color;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.nio.FloatBuffer;
@@ -76,6 +77,7 @@
public AWTGears() throws LWJGLException {
setTitle("Gears");
setSize(300, 300);
+ setBackground(Color.BLACK);
add(canvas0 = new AWTGLCanvas() {
long startTime = 0;
long fps = 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <eli...@us...> - 2006-10-20 12:36:57
|
Revision: 2588
http://svn.sourceforge.net/java-game-lib/?rev=2588&view=rev
Author: elias_naur
Date: 2006-10-20 05:36:51 -0700 (Fri, 20 Oct 2006)
Log Message:
-----------
Remove redundant resizing of AWT canvases in AWT tests
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTGears.java
trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTTest.java
Modified: trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTGears.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTGears.java 2006-10-20 12:32:33 UTC (rev 2587)
+++ trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTGears.java 2006-10-20 12:36:51 UTC (rev 2588)
@@ -137,7 +137,6 @@
}
}
});
- canvas0.setBounds(0, 0, 300, 300);
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
dispose();
Modified: trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTTest.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTTest.java 2006-10-20 12:32:33 UTC (rev 2587)
+++ trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTTest.java 2006-10-20 12:36:51 UTC (rev 2588)
@@ -93,7 +93,6 @@
}
}
});
- canvas0.setBounds(0, 0, 320, 320);
add(canvas1 = new AWTGLCanvas() {
int current_height;
int current_width;
@@ -124,7 +123,6 @@
}
}
});
- canvas1.setBounds(320, 0, 320, 320);
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
dispose();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <eli...@us...> - 2006-10-20 12:32:43
|
Revision: 2587
http://svn.sourceforge.net/java-game-lib/?rev=2587&view=rev
Author: elias_naur
Date: 2006-10-20 05:32:33 -0700 (Fri, 20 Oct 2006)
Log Message:
-----------
Added nicer resizing to AWT tests
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTGears.java
trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTTest.java
Modified: trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTGears.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTGears.java 2006-10-20 11:51:34 UTC (rev 2586)
+++ trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTGears.java 2006-10-20 12:32:33 UTC (rev 2587)
@@ -76,10 +76,11 @@
public AWTGears() throws LWJGLException {
setTitle("Gears");
setSize(300, 300);
- setLayout(null);
add(canvas0 = new AWTGLCanvas() {
long startTime = 0;
- long fps = 0;
+ long fps = 0;
+ int current_width;
+ int current_height;
public void paintGL() {
if(startTime == 0) {
@@ -89,6 +90,11 @@
try {
angle += 2.0f;
+ if (getWidth() != current_width || getHeight() != current_height) {
+ current_width = getWidth();
+ current_height = getHeight();
+ GL11.glViewport(0, 0, current_width, current_height);
+ }
GL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT);
GL11.glPushMatrix();
Modified: trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTTest.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTTest.java 2006-10-20 11:51:34 UTC (rev 2586)
+++ trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTTest.java 2006-10-20 12:32:33 UTC (rev 2587)
@@ -32,6 +32,7 @@
package org.lwjgl.test.opengl.awt;
import java.awt.Frame;
+import java.awt.GridLayout;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
@@ -61,11 +62,17 @@
public AWTTest() throws LWJGLException {
setTitle("LWJGL AWT Canvas Test");
setSize(640, 320);
- setLayout(null);
+ setLayout(new GridLayout(1, 2));
add(canvas0 = new AWTGLCanvas() {
+ int current_height;
+ int current_width;
public void paintGL() {
try {
- makeCurrent();
+ if (getWidth() != current_width || getHeight() != current_height) {
+ current_width = getWidth();
+ current_height = getHeight();
+ GL11.glViewport(0, 0, current_width, current_height);
+ }
GL11.glViewport(0, 0, getWidth(), getHeight());
GL11.glClearColor(1.0f, 0.0f, 0.0f, 1.0f);
GL11.glClear(GL11.GL_COLOR_BUFFER_BIT);
@@ -88,10 +95,16 @@
});
canvas0.setBounds(0, 0, 320, 320);
add(canvas1 = new AWTGLCanvas() {
+ int current_height;
+ int current_width;
public void paintGL() {
try {
angle += 1.0f;
- makeCurrent();
+ if (getWidth() != current_width || getHeight() != current_height) {
+ current_width = getWidth();
+ current_height = getHeight();
+ GL11.glViewport(0, 0, current_width, current_height);
+ }
GL11.glViewport(0, 0, getWidth(), getHeight());
GL11.glClearColor(0.0f, 1.0f, 0.0f, 1.0f);
GL11.glClear(GL11.GL_COLOR_BUFFER_BIT);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <eli...@us...> - 2006-10-20 11:51:44
|
Revision: 2586
http://svn.sourceforge.net/java-game-lib/?rev=2586&view=rev
Author: elias_naur
Date: 2006-10-20 04:51:34 -0700 (Fri, 20 Oct 2006)
Log Message:
-----------
Linux: Don't use the SUN specific getScreenFromDevice in LinuxAWTCanvasPeerInfo. This avoids garbage creation per frame and avoids one bit of SUN JRE dependency.
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxAWTGLCanvasPeerInfo.java
trunk/LWJGL/src/native/linux/org_lwjgl_opengl_LinuxAWTGLCanvasPeerInfo.c
Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxAWTGLCanvasPeerInfo.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxAWTGLCanvasPeerInfo.java 2006-10-20 10:44:28 UTC (rev 2585)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxAWTGLCanvasPeerInfo.java 2006-10-20 11:51:34 UTC (rev 2586)
@@ -45,20 +45,25 @@
final class LinuxAWTGLCanvasPeerInfo extends LinuxPeerInfo {
private final AWTGLCanvas canvas;
private final AWTSurfaceLock awt_surface = new AWTSurfaceLock();
+ private int screen = -1;
public LinuxAWTGLCanvasPeerInfo(AWTGLCanvas canvas) {
this.canvas = canvas;
}
protected void doLockAndInitHandle() throws LWJGLException {
- int screen = -1;
- try {
- screen = LinuxCanvasImplementation.getScreenFromDevice(canvas.getGraphicsConfiguration().getDevice());
- } catch (LWJGLException e) {
- LWJGLUtil.log("Got exception while trying to determine screen: " + e);
+ ByteBuffer surface_handle = awt_surface.lockAndGetHandle(canvas);
+ if (screen == -1) {
+ try {
+ screen = getScreenFromSurfaceInfo(surface_handle);
+ } catch (LWJGLException e) {
+ LWJGLUtil.log("Got exception while trying to determine screen: " + e);
+ screen = 0;
+ }
}
- nInitHandle(screen, awt_surface.lockAndGetHandle(canvas), getHandle());
+ nInitHandle(screen, surface_handle, getHandle());
}
+ private static native int getScreenFromSurfaceInfo(ByteBuffer surface_handle) throws LWJGLException;
private static native void nInitHandle(int screen, ByteBuffer surface_buffer, ByteBuffer peer_info_handle) throws LWJGLException;
protected void doUnlock() throws LWJGLException {
Modified: trunk/LWJGL/src/native/linux/org_lwjgl_opengl_LinuxAWTGLCanvasPeerInfo.c
===================================================================
--- trunk/LWJGL/src/native/linux/org_lwjgl_opengl_LinuxAWTGLCanvasPeerInfo.c 2006-10-20 10:44:28 UTC (rev 2585)
+++ trunk/LWJGL/src/native/linux/org_lwjgl_opengl_LinuxAWTGLCanvasPeerInfo.c 2006-10-20 11:51:34 UTC (rev 2586)
@@ -47,33 +47,33 @@
#include "org_lwjgl_opengl_LinuxAWTGLCanvasPeerInfo.h"
#include "context.h"
+JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_LinuxAWTGLCanvasPeerInfo_getScreenFromSurfaceInfo
+ (JNIEnv *env, jclass clazz, jobject lock_buffer_handle) {
+ const AWTSurfaceLock *awt_lock = (AWTSurfaceLock *)(*env)->GetDirectBufferAddress(env, lock_buffer_handle);
+ // Get the platform-specific drawing info
+ JAWT_X11DrawingSurfaceInfo *dsi_x11 = (JAWT_X11DrawingSurfaceInfo*)awt_lock->dsi->platformInfo;
+
+ XVisualInfo template;
+ int num_infos;
+ template.visualid = dsi_x11->visualID;
+ template.depth = dsi_x11->depth;
+ XVisualInfo *vis_info = XGetVisualInfo(dsi_x11->display, VisualIDMask | VisualDepthMask, &template, &num_infos);
+ if (vis_info == NULL) {
+ throwException(env, "Could not determine screen");
+ return -1;
+ }
+ int screen = vis_info[0].screen;
+ XFree(vis_info);
+ return screen;
+}
+
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_LinuxAWTGLCanvasPeerInfo_nInitHandle
(JNIEnv *env, jclass clazz, int screen, jobject lock_buffer_handle, jobject peer_info_handle) {
- if ((*env)->GetDirectBufferCapacity(env, peer_info_handle) < sizeof(X11PeerInfo)) {
- throwException(env, "PeerInfo handle buffer not large enough");
- return;
- }
const AWTSurfaceLock *awt_lock = (AWTSurfaceLock *)(*env)->GetDirectBufferAddress(env, lock_buffer_handle);
X11PeerInfo *peer_info = (X11PeerInfo *)(*env)->GetDirectBufferAddress(env, peer_info_handle);
// Get the platform-specific drawing info
JAWT_X11DrawingSurfaceInfo *dsi_x11 = (JAWT_X11DrawingSurfaceInfo*)awt_lock->dsi->platformInfo;
- // If we couldn't get a screen from java side, attempt to determine a sane screen
- // from the information we do have, namely the visualid and the depth
- if (screen == -1) {
- XVisualInfo template;
- int num_infos;
- template.visualid = dsi_x11->visualID;
- template.depth = dsi_x11->depth;
- XVisualInfo *vis_info = XGetVisualInfo(dsi_x11->display, VisualIDMask | VisualDepthMask, &template, &num_infos);
- if (vis_info == NULL) {
- throwException(env, "Could not determine screen");
- return;
- }
- screen = vis_info[0].screen;
- XFree(vis_info);
- }
-
peer_info->display = dsi_x11->display;
peer_info->screen = screen;
peer_info->drawable = dsi_x11->drawable;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <eli...@us...> - 2006-10-20 10:44:35
|
Revision: 2585
http://svn.sourceforge.net/java-game-lib/?rev=2585&view=rev
Author: elias_naur
Date: 2006-10-20 03:44:28 -0700 (Fri, 20 Oct 2006)
Log Message:
-----------
Undo debug stuff that accidentially went with the last commit.
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxAWTGLCanvasPeerInfo.java
Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxAWTGLCanvasPeerInfo.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxAWTGLCanvasPeerInfo.java 2006-10-20 10:42:43 UTC (rev 2584)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxAWTGLCanvasPeerInfo.java 2006-10-20 10:44:28 UTC (rev 2585)
@@ -51,12 +51,12 @@
}
protected void doLockAndInitHandle() throws LWJGLException {
- int screen = 0;//-1;
-/* try {
+ int screen = -1;
+ try {
screen = LinuxCanvasImplementation.getScreenFromDevice(canvas.getGraphicsConfiguration().getDevice());
} catch (LWJGLException e) {
LWJGLUtil.log("Got exception while trying to determine screen: " + e);
- }*/
+ }
nInitHandle(screen, awt_surface.lockAndGetHandle(canvas), getHandle());
}
private static native void nInitHandle(int screen, ByteBuffer surface_buffer, ByteBuffer peer_info_handle) throws LWJGLException;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <eli...@us...> - 2006-10-20 10:42:56
|
Revision: 2584
http://svn.sourceforge.net/java-game-lib/?rev=2584&view=rev
Author: elias_naur
Date: 2006-10-20 03:42:43 -0700 (Fri, 20 Oct 2006)
Log Message:
-----------
Don't repaint() from a separate thread in AWT demos. This results in a smoother rendering.
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxAWTGLCanvasPeerInfo.java
trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTGears.java
trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTTest.java
Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxAWTGLCanvasPeerInfo.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxAWTGLCanvasPeerInfo.java 2006-10-11 20:26:35 UTC (rev 2583)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxAWTGLCanvasPeerInfo.java 2006-10-20 10:42:43 UTC (rev 2584)
@@ -51,12 +51,12 @@
}
protected void doLockAndInitHandle() throws LWJGLException {
- int screen = -1;
- try {
+ int screen = 0;//-1;
+/* try {
screen = LinuxCanvasImplementation.getScreenFromDevice(canvas.getGraphicsConfiguration().getDevice());
} catch (LWJGLException e) {
LWJGLUtil.log("Got exception while trying to determine screen: " + e);
- }
+ }*/
nInitHandle(screen, awt_surface.lockAndGetHandle(canvas), getHandle());
}
private static native void nInitHandle(int screen, ByteBuffer surface_buffer, ByteBuffer peer_info_handle) throws LWJGLException;
Modified: trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTGears.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTGears.java 2006-10-11 20:26:35 UTC (rev 2583)
+++ trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTGears.java 2006-10-20 10:42:43 UTC (rev 2584)
@@ -116,6 +116,7 @@
GL11.glPopMatrix();
swapBuffers();
+ repaint();
} catch (LWJGLException e) {
throw new RuntimeException(e);
}
@@ -139,17 +140,6 @@
});
setResizable(true);
setVisible(true);
-
- new Thread() {
- {
- setDaemon(true);
- }
- public void run() {
- for (;;) {
- canvas0.repaint();
- }
- }
- }.start();
}
private void setup() {
Modified: trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTTest.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTTest.java 2006-10-11 20:26:35 UTC (rev 2583)
+++ trunk/LWJGL/src/java/org/lwjgl/test/opengl/awt/AWTTest.java 2006-10-20 10:42:43 UTC (rev 2584)
@@ -53,7 +53,7 @@
/** AWT GL canvas */
private AWTGLCanvas canvas0, canvas1;
- private float angle;
+ private volatile float angle;
/**
* C'tor
@@ -80,6 +80,7 @@
GL11.glRectf(-50.0f, -50.0f, 50.0f, 50.0f);
GL11.glPopMatrix();
swapBuffers();
+ repaint();
} catch (LWJGLException e) {
throw new RuntimeException(e);
}
@@ -89,6 +90,7 @@
add(canvas1 = new AWTGLCanvas() {
public void paintGL() {
try {
+ angle += 1.0f;
makeCurrent();
GL11.glViewport(0, 0, getWidth(), getHeight());
GL11.glClearColor(0.0f, 1.0f, 0.0f, 1.0f);
@@ -103,6 +105,7 @@
GL11.glRectf(-50.0f, -50.0f, 50.0f, 50.0f);
GL11.glPopMatrix();
swapBuffers();
+ repaint();
} catch (LWJGLException e) {
throw new RuntimeException(e);
}
@@ -117,24 +120,6 @@
});
setResizable(true);
setVisible(true);
-
- new Thread() {
- {
- setDaemon(true);
- }
- public void run() {
- for (;;) {
- angle += 1.0f;
- canvas0.repaint();
- canvas1.repaint();
- try {
- sleep(20);
- } catch (InterruptedException e) {
- break;
- }
- }
- }
- }.start();
}
public static void main(String[] args) throws LWJGLException {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|