diff options
Diffstat (limited to 'src/SFML/Window/Context.cpp')
-rw-r--r-- | src/SFML/Window/Context.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/SFML/Window/Context.cpp b/src/SFML/Window/Context.cpp index fc6cb55..0ec500a 100644 --- a/src/SFML/Window/Context.cpp +++ b/src/SFML/Window/Context.cpp @@ -1,7 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2014 Laurent Gomila (laurent.gom@gmail.com) +// Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. @@ -54,6 +54,13 @@ bool Context::setActive(bool active) //////////////////////////////////////////////////////////// +GlFunctionPointer Context::getFunction(const char* name) +{ + return priv::GlContext::getFunction(name); +} + + +//////////////////////////////////////////////////////////// Context::Context(const ContextSettings& settings, unsigned int width, unsigned int height) { m_context = priv::GlContext::create(settings, width, height); |