Removed unused Context::GetCurrentContextId()
This commit is contained in:
parent
bc95d855b3
commit
78910b555e
4 changed files with 0 additions and 38 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -177,13 +177,6 @@ GlContext* GlContext::New(const ContextSettings& settings, unsigned int width, u
|
|||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
GlContext* GlContext::GetCurrentContext()
|
||||
{
|
||||
return currentContext;
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
GlContext::~GlContext()
|
||||
{
|
||||
|
|
|
@ -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 :
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue