Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl
In directory sc8-pr-cvs1:/tmp/cvs-serv24717/src/java/org/lwjgl
Modified Files:
DisplayMode.java
Log Message:
Index: DisplayMode.java
CVS Browser:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/DisplayMode.java
===================================================================
RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/DisplayMode.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- DisplayMode.java 10 Feb 2003 23:02:32 -0000 1.7
+++ DisplayMode.java 3 Mar 2003 22:12:21 -0000 1.8
@@ -44,8 +44,8 @@
*/
public final class DisplayMode {
-
- /** properties of the display mode */
+
+ /** properties of the display mode */
public final int width, height, bpp, freq, alpha, depth, stencil;
/**
@@ -62,18 +62,17 @@
this.depth = depth;
this.stencil = stencil;
}
-
/**
- * Tests for <code>DisplayMode</code> equality
- *
+ * Tests for <code>DisplayMode</code> equality
+ *
* @see java.lang.Object#equals(Object)
*/
public boolean equals(Object obj) {
if (obj == null || !(obj instanceof DisplayMode)) {
return false;
}
-
+
DisplayMode dm = (DisplayMode) obj;
return dm.width == width
&& dm.height == dm.height
@@ -85,8 +84,8 @@
}
/**
- * Retrieves the hashcode for this object
- *
+ * Retrieves the hashcode for this object
+ *
* @see java.lang.Object#hashCode()
*/
public int hashCode() {
@@ -94,8 +93,8 @@
}
/**
- * Retrieves a String representation of this <code>DisplayMode</code>
- *
+ * Retrieves a String representation of this <code>DisplayMode</code>
+ *
* @see java.lang.Object#toString()
*/
public String toString() {
|