X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fextension.h;h=cf824e24b0a189b65fc88de30adc6dc862fb5e09;hp=d6eb75f6a396eccec9c17cd7e6a111e3cb7406aa;hb=HEAD;hpb=5318aa4fd553be4ce0bc428e73592b787842cdea diff --git a/source/extension.h b/source/extension.h deleted file mode 100644 index d6eb75f6..00000000 --- a/source/extension.h +++ /dev/null @@ -1,37 +0,0 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#ifndef MSP_GL_EXTENSION_H_ -#define MSP_GL_EXTENSION_H_ - -#include - -namespace Msp { -namespace GL { - -typedef void ExtFunc(); - -/** -Indicates whether an extension is supported. If this returns true, the -functions of that extension are safe to use. -*/ -bool is_supported(const std::string &); - -/** -Checks that an extension is supported and throws if it isn't. -*/ -void require_extension(const std::string &); - -/** -Returns the address of an extension function. -*/ -ExtFunc *get_proc_address(const std::string &); - -} // namespace GL -} // namespace Msp - -#endif