]> git.tdb.fi Git - libs/gl.git/blobdiff - source/tests.cpp
Drop the global *_test constants and related functions
[libs/gl.git] / source / tests.cpp
index 1a2a58352e2605a54669093c5cb4e2011557c774..08580d4d80a0234758569dd62446d4d3b288a732 100644 (file)
@@ -35,11 +35,6 @@ void AlphaTest::unbind()
                glDisable(GL_ALPHA_TEST);
 }
 
-void alpha_func(Predicate func, float ref)
-{
-       glAlphaFunc(func, ref);
-}
-
 
 DepthTest::DepthTest():
        write(true),
@@ -77,11 +72,6 @@ void DepthTest::unbind()
        }
 }
 
-void depth_func(Predicate func)
-{
-       glDepthFunc(func);
-}
-
 
 ScissorTest::ScissorTest():
        left(0),
@@ -112,10 +102,5 @@ void ScissorTest::unbind()
                glDisable(GL_SCISSOR_TEST);
 }
 
-void scissor(int left, int bottom, unsigned width, unsigned height)
-{
-       glScissor(left, bottom, width, height);
-}
-
 } // namespace GL
 } // namespace Msp