diff --git a/src/java/org/lwjgl/opengl/GLCaps.java b/src/java/org/lwjgl/opengl/GLCaps.java index ce39f3d1..01c86d25 100644 --- a/src/java/org/lwjgl/opengl/GLCaps.java +++ b/src/java/org/lwjgl/opengl/GLCaps.java @@ -108,6 +108,7 @@ public abstract class GLCaps { public static boolean GL_ATI_texture_mirror_once; public static boolean GL_ATI_vertex_array_object; public static boolean GL_ATI_vertex_streams; + public static boolean GL_ATI_separate_stencil; public static boolean GL_ATIX_point_sprites; public static boolean GL_ATIX_texture_env_route; public static boolean GL_HP_occlusion_test; diff --git a/src/java/org/lwjgl/opengl/GLConstants.java b/src/java/org/lwjgl/opengl/GLConstants.java index 364c2ead..adff4ef8 100644 --- a/src/java/org/lwjgl/opengl/GLConstants.java +++ b/src/java/org/lwjgl/opengl/GLConstants.java @@ -83,6 +83,7 @@ public interface GLConstants ATITextureMirrorOnce, ATIVertexArrayObject, ATIVertexStreams, + ATISeparateStencil, ATIXPointSprites, ATIXTextureEnvRoute, EXTAbgr, diff --git a/src/java/org/lwjgl/opengl/ati/ATISeparateStencil.java b/src/java/org/lwjgl/opengl/ati/ATISeparateStencil.java new file mode 100644 index 00000000..6dca39a1 --- /dev/null +++ b/src/java/org/lwjgl/opengl/ati/ATISeparateStencil.java @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2002 Lightweight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:31:14 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ati; + +public interface ATISeparateStencil { + public static final int STENCIL_BACK_FUNC_ATI = 0x8800; + public static final int STENCIL_BACK_FAIL_ATI = 0x8801; + public static final int STENCIL_BACK_PASS_DEPTH_FAIL_ATI = 0x8802; + public static final int STENCIL_BACK_PASS_DEPTH_PASS_ATI = 0x8803; +} diff --git a/src/native/configure.in b/src/native/configure.in index 014c92f5..c2f1bb91 100644 --- a/src/native/configure.in +++ b/src/native/configure.in @@ -51,8 +51,8 @@ if test "x$JAVA_HOME" = x; then else AC_MSG_RESULT($JAVA_HOME) JAVA_HOME="$JAVA_HOME" - CPPFLAGS="$CPPFLAGS -fno-rtti -fno-exceptions -pthread -D_X11 -Wall -I$JAVA_HOME/include -I$JAVA_HOME/include/linux" - CFLAGS="$CFLAGS -pthread -D_X11 -Wall -I$JAVA_HOME/include -I$JAVA_HOME/include/linux" + CPPFLAGS="$CPPFLAGS -D_DEBUG -fno-rtti -fno-exceptions -pthread -D_X11 -Wall -I$JAVA_HOME/include -I$JAVA_HOME/include/linux" + CFLAGS="$CFLAGS -D_DEBUG -pthread -D_X11 -Wall -I$JAVA_HOME/include -I$JAVA_HOME/include/linux" fi dnl Checks for libraries.