Compile fix for apple, unused lambda capture

This commit is contained in:
baldurk
2020-04-30 20:28:03 +01:00
parent d7a4475c9c
commit 85bd67829c
@@ -890,8 +890,8 @@ ShaderDebugTrace *Debugger::BeginDebug(DebugAPIWrapper *apiWrapper, const Shader
// global variables should all be pointers into opaque storage
RDCASSERT(type.type == DataType::PointerType);
auto uninitialisedCallback = [this](ShaderVariable &var, const Decorations &,
const DataType &, uint64_t, const rdcstr &) {
auto uninitialisedCallback = [](ShaderVariable &var, const Decorations &, const DataType &,
uint64_t, const rdcstr &) {
if(!var.members.empty())
return;