Fixes warning about unused captured variable in CDeviceCommandContext.
This was SVN commit r26749.
This commit is contained in:
parent
4c17946717
commit
e08590ee34
@ -313,7 +313,7 @@ void CDeviceCommandContext::UploadBufferRegion(
|
||||
// current Intel Windows GPU drivers (as of 2015-01) it's much faster if you do
|
||||
// the explicit glBufferData.)
|
||||
|
||||
UploadBufferRegion(buffer, dataOffset, dataSize, [data, dataOffset, dataSize](u8* mappedData)
|
||||
UploadBufferRegion(buffer, dataOffset, dataSize, [data, dataSize](u8* mappedData)
|
||||
{
|
||||
std::memcpy(mappedData, data, dataSize);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user