diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2016-02-15 18:23:12 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2016-02-15 18:23:12 -0700 |
| commit | cb063ae388349fc6fcbf9a70c98ae81d23079d3f (patch) | |
| tree | 8dd45c5415038dc9505264c32d101eed2e2fddaa /layers/draw_state.cpp | |
| parent | 4eb9110060ccb67dc07c5533cc81fc1d80ee2e99 (diff) | |
| download | usermoji-cb063ae388349fc6fcbf9a70c98ae81d23079d3f.tar.xz | |
layers: Fix Win32 build errors in draw_state
Diffstat (limited to 'layers/draw_state.cpp')
| -rw-r--r-- | layers/draw_state.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp index 940f49e2..f76bddbf 100644 --- a/layers/draw_state.cpp +++ b/layers/draw_state.cpp @@ -7254,7 +7254,7 @@ bool validateSecondaryCommandBufferState(layer_data *dev_data, ". Pipeline statistics is being queried so the command " "buffer must have all bits set on the queryPool.", reinterpret_cast<void *>(pCB->commandBuffer), - reinterpret_cast<uint64_t>(queryPoolData->first)); + reinterpret_cast<const uint64_t&>(queryPoolData->first)); } } activeTypes.insert(queryPoolData->second.createInfo.queryType); @@ -7273,7 +7273,7 @@ bool validateSecondaryCommandBufferState(layer_data *dev_data, "of type %d but a query of that type has been started on " "secondary Cmd Buffer %p.", reinterpret_cast<void *>(pCB->commandBuffer), - reinterpret_cast<uint64_t>(queryPoolData->first), + reinterpret_cast<const uint64_t&>(queryPoolData->first), queryPoolData->second.createInfo.queryType, reinterpret_cast<void *>(pSubCB->commandBuffer)); } |
