Removed unused Context::GetCurrentContextId()

This commit is contained in:
Laurent Gomila 2011-12-21 22:27:19 +01:00
parent bc95d855b3
commit 78910b555e
4 changed files with 0 additions and 38 deletions

View file

@ -53,13 +53,6 @@ bool Context::SetActive(bool active)
}
////////////////////////////////////////////////////////////
ContextId Context::GetCurrentContextId()
{
return priv::GlContext::GetCurrentContext();
}
////////////////////////////////////////////////////////////
Context::Context(const ContextSettings& settings, unsigned int width, unsigned int height)
{

View file

@ -177,13 +177,6 @@ GlContext* GlContext::New(const ContextSettings& settings, unsigned int width, u
}
////////////////////////////////////////////////////////////
GlContext* GlContext::GetCurrentContext()
{
return currentContext;
}
////////////////////////////////////////////////////////////
GlContext::~GlContext()
{

View file

@ -118,16 +118,6 @@ public :
////////////////////////////////////////////////////////////
static GlContext* New(const ContextSettings& settings, unsigned int width, unsigned int height);
////////////////////////////////////////////////////////////
/// \brief Return the current active context
///
/// This function returns 0 if no context is active.
///
/// \return Context currently active in this thread
///
////////////////////////////////////////////////////////////
static GlContext* GetCurrentContext();
public :
////////////////////////////////////////////////////////////