X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Ftests.h;h=7e38e81e41a0c956f36da24578d998f94d215fd6;hp=f7d729504a37f34b477a635675197f4166c29791;hb=2b2676392aff2eb6b38c3e463cc67f4d67a4ef8b;hpb=669e9bfc18d2f5e28a9c715e1a69b7637a2d9c8b diff --git a/source/core/tests.h b/source/core/tests.h index f7d72950..7e38e81e 100644 --- a/source/core/tests.h +++ b/source/core/tests.h @@ -8,27 +8,6 @@ namespace Msp { namespace GL { -/** -Tests incoming fragment depth values against the depth buffer. If the test -fails, the fragment is discarded. -*/ -class DepthTest: public Bindable -{ -private: - bool write; - Predicate pred; - -public: - DepthTest(); - DepthTest(Predicate, bool = true); - - void bind() const; - - static const DepthTest &lequal(); - static void unbind(); -}; - - /** Tests fragment coordinates against a rectangle. Any fragments outside the rectangle are discarded.