diff options
author | Tim Rowley <[email protected]> | 2017-04-07 11:41:25 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2017-04-11 18:01:03 -0500 |
commit | 7abd1f9b2462e5b050e91630b73c71e9128f5683 (patch) | |
tree | def42d13e7f6eeeffd807a7bc6c099eec82e39ff /src/gallium/drivers/swr/rasterizer/archrast | |
parent | 54d11b3c95f7baec6fda8583876f696bac17a1a2 (diff) |
swr: [rasterizer archrast] Fix archrast for MSVC 2017 compiler
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/rasterizer/archrast')
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp b/src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp index a7d41e27c0d..cda161246bb 100644 --- a/src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp +++ b/src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp @@ -298,7 +298,7 @@ namespace ArchRast } // Dispatch event for this thread. - void Dispatch(HANDLE hThreadContext, Event& event) + void Dispatch(HANDLE hThreadContext, const Event& event) { EventManager* pManager = FromHandle(hThreadContext); SWR_ASSERT(pManager != nullptr); diff --git a/src/gallium/drivers/swr/rasterizer/archrast/archrast.h b/src/gallium/drivers/swr/rasterizer/archrast/archrast.h index 1b81e6e952b..fa88a4948c9 100644 --- a/src/gallium/drivers/swr/rasterizer/archrast/archrast.h +++ b/src/gallium/drivers/swr/rasterizer/archrast/archrast.h @@ -42,7 +42,7 @@ namespace ArchRast void DestroyThreadContext(HANDLE hThreadContext); // Dispatch event for this thread. - void Dispatch(HANDLE hThreadContext, Event& event); + void Dispatch(HANDLE hThreadContext, const Event& event); void FlushDraw(HANDLE hThreadContext, uint32_t drawId); }; diff --git a/src/gallium/drivers/swr/rasterizer/archrast/eventmanager.h b/src/gallium/drivers/swr/rasterizer/archrast/eventmanager.h index 44f75e44410..c251daf0361 100644 --- a/src/gallium/drivers/swr/rasterizer/archrast/eventmanager.h +++ b/src/gallium/drivers/swr/rasterizer/archrast/eventmanager.h @@ -60,7 +60,7 @@ namespace ArchRast mHandlers.push_back(pHandler); } - void Dispatch(Event& event) + void Dispatch(const Event& event) { ///@todo Add event filter check here. |