Update of /cvsroot/jake2/jake2/src/jake2/render
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5402/src/jake2/render
Modified Files:
Tag: render-refactoring
LwjglGL.java
Log Message:
implementation of QGL
Index: LwjglGL.java
===================================================================
RCS file: /cvsroot/jake2/jake2/src/jake2/render/Attic/LwjglGL.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** LwjglGL.java 10 Jul 2005 17:51:01 -0000 1.1.2.1
--- LwjglGL.java 16 Jul 2005 17:59:37 -0000 1.1.2.2
***************
*** 7,11 ****
import org.lwjgl.util.GL;
! public class LwjglGL extends LWJGLBase {
public final void glAlphaFunc(int func, float ref) {
--- 7,21 ----
import org.lwjgl.util.GL;
! public class LwjglGL implements QGL {
!
! private static QGL self = new LwjglGL();
!
! private LwjglGL() {
! // singleton
! }
!
! public static QGL getInstance() {
! return self;
! }
public final void glAlphaFunc(int func, float ref) {
***************
*** 280,282 ****
--- 290,308 ----
}
+ public final void glLockArraysEXT(int first, int count) {
+ GL.glLockArraysEXT(first, count);
+ }
+
+ public final void glArrayElement(int index) {
+ GL.glArrayElement(index);
+ }
+
+ public final void glUnlockArraysEXT() {
+ GL.glUnlockArraysEXT();
+ }
+
+ public final void glMultiTexCoord2f(int target, float s, float t) {
+ GL.glMultiTexCoord2f(target, s, t);
+ }
+
}
|