Removed unused Context::GetCurrentContextId()
This commit is contained in:
parent
bc95d855b3
commit
78910b555e
@ -41,8 +41,6 @@ namespace priv
|
|||||||
class GlContext;
|
class GlContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef void* ContextId;
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Class holding a valid drawing context
|
/// \brief Class holding a valid drawing context
|
||||||
///
|
///
|
||||||
@ -77,18 +75,6 @@ public :
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
bool SetActive(bool active);
|
bool SetActive(bool active);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
|
||||||
/// \brief Return the identifier of the current active context
|
|
||||||
///
|
|
||||||
/// The returned id has no special meaning, it should only be
|
|
||||||
/// used as a key to map external stuff to internal contexts.
|
|
||||||
/// This function returns 0 if no context is active.
|
|
||||||
///
|
|
||||||
/// \return Identifier of the current context
|
|
||||||
///
|
|
||||||
////////////////////////////////////////////////////////////
|
|
||||||
static ContextId GetCurrentContextId();
|
|
||||||
|
|
||||||
public :
|
public :
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
@ -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)
|
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()
|
GlContext::~GlContext()
|
||||||
{
|
{
|
||||||
|
@ -118,16 +118,6 @@ public :
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
static GlContext* New(const ContextSettings& settings, unsigned int width, unsigned int height);
|
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 :
|
public :
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user