Minor fixes

This commit is contained in:
Lynix
2020-06-18 20:04:25 +02:00
parent 691de5b5c4
commit 74acf440fc
4 changed files with 8 additions and 8 deletions

View File

@@ -68,12 +68,12 @@ namespace Nz::GL
context.glSpecializeShaderARB(m_objectId, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue);
}
inline GLuint Shader::CreateHelper(OpenGLDevice& device, const Context& context, GLenum shaderStage)
inline GLuint Shader::CreateHelper(OpenGLDevice& /*device*/, const Context& context, GLenum shaderStage)
{
return context.glCreateShader(shaderStage);
}
inline void Shader::DestroyHelper(OpenGLDevice& device, const Context& context, GLuint objectId)
inline void Shader::DestroyHelper(OpenGLDevice& /*device*/, const Context& context, GLuint objectId)
{
context.glDeleteShader(objectId);
}