Renderer: Add pipeline and texture sampler info validation
This commit is contained in:
@@ -71,6 +71,7 @@ namespace Nz
|
||||
|
||||
OpenGLDevice::~OpenGLDevice()
|
||||
{
|
||||
// Free context first as it will unregister itself from m_contexts
|
||||
m_referenceContext.reset();
|
||||
}
|
||||
|
||||
@@ -95,6 +96,12 @@ namespace Nz
|
||||
return m_deviceInfo;
|
||||
}
|
||||
|
||||
const RenderDeviceFeatures& OpenGLDevice::GetEnabledFeatures() const
|
||||
{
|
||||
//FIXME
|
||||
return m_deviceInfo.features;
|
||||
}
|
||||
|
||||
std::shared_ptr<AbstractBuffer> OpenGLDevice::InstantiateBuffer(BufferType type)
|
||||
{
|
||||
return std::make_shared<OpenGLBuffer>(*this, type);
|
||||
|
||||
Reference in New Issue
Block a user