OSDN Git Service

Linux build fix
authorAlexis Hetu <sugoi@google.com>
Wed, 27 Sep 2017 14:31:28 +0000 (10:31 -0400)
committerAlexis Hétu <sugoi@google.com>
Wed, 27 Sep 2017 14:47:48 +0000 (14:47 +0000)
commit8beb240236859aaa146639a8f87d6bed66b55513
tree675ffa53e6c40305b4cb7293eeb3f09206be160b
parentaa2666f9414d96a3aadbadac1023b0222719ea50
Linux build fix

The copy constructor of std::atomic is not allowed, so initialization
through operator= is not allowed. Explicitly using the AtomicInt
constructor to fix this issue.

Change-Id: If77763e89e0d958d8a4b5a83d5d7bd9e3ba08ff6
Reviewed-on: https://swiftshader-review.googlesource.com/12508
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
src/Renderer/Renderer.cpp