[committed] com.jmex.swt.lwjgl.LWJGLSWTCanvasConstructor bug?

I think that com.jmex.swt.lwjgl.LWJGLSWTCanvasConstructor has a little copy paste bug and not load the stencil buffer.



Integer stencilBits = (Integer) props  

                   .get(LWJGLSWTConstants.STENCIL_BITS);

           if (alphaBits != null) {    <


The error. is stencilBis not alphaBits
               data.stencilSize = stencilBits;
           } else {
               data.stencilSize = DisplaySystem.getDisplaySystem()
                       .getMinStencilBits();
           }

committed with rev:4848



nice catch :)
will commit it tomorrow


Index: src/com/jmex/swt/lwjgl/LWJGLSWTCanvasConstructor.java
===================================================================
--- src/com/jmex/swt/lwjgl/LWJGLSWTCanvasConstructor.java   (revision 4832)
+++ src/com/jmex/swt/lwjgl/LWJGLSWTCanvasConstructor.java   (working copy)
@@ -80,7 +80,7 @@
 
             Integer stencilBits = (Integer) props
                     .get(LWJGLSWTConstants.STENCIL_BITS);
-            if (alphaBits != null) {
+            if (stencilBits != null) {
                 data.stencilSize = stencilBits;
             } else {
                 data.stencilSize = DisplaySystem.getDisplaySystem()