Added back GlResource::ensureGlContext() for ABI compatibility.
This commit is contained in:
parent
b74391cf97
commit
303d07976c
|
@ -57,6 +57,12 @@ protected:
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
~GlResource();
|
~GlResource();
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////
|
||||||
|
/// \brief Empty function for ABI compatibility, use acquireTransientContext instead
|
||||||
|
///
|
||||||
|
////////////////////////////////////////////////////////////
|
||||||
|
static void ensureGlContext();
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief RAII helper class to temporarily lock an available context for use
|
/// \brief RAII helper class to temporarily lock an available context for use
|
||||||
///
|
///
|
||||||
|
|
|
@ -72,6 +72,13 @@ GlResource::~GlResource()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////
|
||||||
|
void GlResource::ensureGlContext()
|
||||||
|
{
|
||||||
|
// Empty function for ABI compatibility, use acquireTransientContext instead
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
GlResource::TransientContextLock::TransientContextLock() :
|
GlResource::TransientContextLock::TransientContextLock() :
|
||||||
m_context(0)
|
m_context(0)
|
||||||
|
|
Loading…
Reference in a new issue