Core: Add MovablePtr class
This commit is contained in:
@@ -20,7 +20,7 @@ namespace Nz
|
||||
{
|
||||
}
|
||||
|
||||
bool ContextImpl::Activate()
|
||||
bool ContextImpl::Activate() const
|
||||
{
|
||||
return wglMakeCurrent(m_deviceContext, m_context) == TRUE;
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Nz
|
||||
public:
|
||||
ContextImpl();
|
||||
|
||||
bool Activate();
|
||||
bool Activate() const;
|
||||
|
||||
bool Create(ContextParameters& parameters);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user