OpenGLRenderer: Implement TextureSampler (and texture units)
This commit is contained in:
@@ -12,6 +12,12 @@ namespace Nz
|
||||
return *m_referenceContext;
|
||||
}
|
||||
|
||||
inline void OpenGLDevice::NotifySamplerDestruction(GLuint texture) const
|
||||
{
|
||||
for (const GL::Context* context : m_contexts)
|
||||
context->NotifySamplerDestruction(texture);
|
||||
}
|
||||
|
||||
inline void OpenGLDevice::NotifyTextureDestruction(GLuint texture) const
|
||||
{
|
||||
for (const GL::Context* context : m_contexts)
|
||||
|
||||
Reference in New Issue
Block a user