]> git.tdb.fi Git - libs/gl.git/blobdiff - source/tests.h
Drop the global *_test constants and related functions
[libs/gl.git] / source / tests.h
index 75d15036c64a12a2148abfaa0ce6f7d88f20ca1f..02e5f929475130236e5c43f48de96f2c0ff3cfee 100644 (file)
@@ -15,13 +15,6 @@ Distributed under the LGPL
 namespace Msp {
 namespace GL {
 
-enum
-{
-       SCISSOR_TEST = GL_SCISSOR_TEST,
-       ALPHA_TEST   = GL_ALPHA_TEST,
-       DEPTH_TEST   = GL_DEPTH_TEST
-};
-
 /**
 Tests incoming fragment alpha values against a reference.  If the test fails,
 the fragment is discarded.
@@ -41,8 +34,6 @@ public:
        static void unbind();
 };
 
-void alpha_func(Predicate func, float ref);
-
 
 /**
 Tests incoming fragment depth values against the depth buffer.  If the test
@@ -64,8 +55,6 @@ public:
        static void unbind();
 };
 
-void depth_func(Predicate func);
-
 
 /**
 Tests fragment coordinates against a rectangle.  Any fragments outside the
@@ -88,8 +77,6 @@ public:
        static void unbind();
 };
 
-void scissor(int left, int bottom, unsigned width, unsigned height);
-
 } // namespace GL
 } // namespace Msp