]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/stenciltest.cpp
Move all OpenGL-specific code to a separate directory
[libs/gl.git] / source / core / stenciltest.cpp
index 57a191cfad95f83620b5ac1f35487adf9d49cc2f..2e8bbb4db865d5052885facfd96d25341ba1f906 100644 (file)
@@ -40,22 +40,6 @@ void StencilTest::Loader::actions(StencilOp sf, StencilOp df, StencilOp dp)
 }
 
 
-unsigned get_gl_stencil_op(StencilOp op)
-{
-       switch(op)
-       {
-       case KEEP: return GL_KEEP;
-       case SET_ZERO: return GL_ZERO;
-       case REPLACE: return GL_REPLACE;
-       case INCR: return GL_INCR;
-       case DECR: return GL_DECR;
-       case INVERT: return GL_INVERT;
-       case INCR_WRAP: return GL_INCR_WRAP;
-       case DECR_WRAP: return GL_DECR_WRAP;
-       default: throw invalid_argument("get_gl_stencil_op");
-       }
-}
-
 void operator>>(const LexicalConverter &conv, StencilOp &op)
 {
        const string &str = conv.get();