X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftests.cpp;h=f8489ede9cfee6787520265d1bc5e1b5cc655a4a;hp=1a2a58352e2605a54669093c5cb4e2011557c774;hb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;hpb=6fa59eb26c39443eb44feecd17b7a8ea45411730 diff --git a/source/tests.cpp b/source/tests.cpp index 1a2a5835..f8489ede 100644 --- a/source/tests.cpp +++ b/source/tests.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007, 2010 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #include "tests.h" namespace Msp { @@ -35,11 +28,6 @@ void AlphaTest::unbind() glDisable(GL_ALPHA_TEST); } -void alpha_func(Predicate func, float ref) -{ - glAlphaFunc(func, ref); -} - DepthTest::DepthTest(): write(true), @@ -77,11 +65,6 @@ void DepthTest::unbind() } } -void depth_func(Predicate func) -{ - glDepthFunc(func); -} - ScissorTest::ScissorTest(): left(0), @@ -112,10 +95,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