Cleanup: Silence Unused parameter warnings.

- blender::gpu::GLContext
- blender::gpu::VKContext
This commit is contained in:
2023-03-16 09:44:09 +01:00
parent a25cc51db9
commit 5e0cc9d277
2 changed files with 6 additions and 6 deletions

View File

@@ -389,17 +389,17 @@ void GLContext::debug_capture_end()
{
}
void *GLContext::debug_capture_scope_create(const char *name)
void *GLContext::debug_capture_scope_create(const char * /*name*/)
{
return nullptr;
}
bool GLContext::debug_capture_scope_begin(void *scope)
bool GLContext::debug_capture_scope_begin(void * /*scope*/)
{
return false;
}
void GLContext::debug_capture_scope_end(void *scope)
void GLContext::debug_capture_scope_end(void * /*scope*/)
{
}

View File

@@ -137,17 +137,17 @@ void VKContext::debug_capture_end()
{
}
void *VKContext::debug_capture_scope_create(const char *name)
void *VKContext::debug_capture_scope_create(const char * /*name*/)
{
return nullptr;
}
bool VKContext::debug_capture_scope_begin(void *scope)
bool VKContext::debug_capture_scope_begin(void * /*scope*/)
{
return false;
}
void VKContext::debug_capture_scope_end(void *scope)
void VKContext::debug_capture_scope_end(void * /*scope*/)
{
}