OSDN Git Service

Fix compilation error on android build.
authorCody Schuffelen <schuffelen@google.com>
Fri, 18 Jan 2019 02:12:47 +0000 (18:12 -0800)
committerChris Forbes <chrisforbes@google.com>
Fri, 18 Jan 2019 16:47:51 +0000 (16:47 +0000)
commit755d744023fff10ae1176224ad6ae419440e70e6
treea7fae33ecf3e90c0d8051f897011985293dbb48b
parentef4ab0f0f1975a689de0d2f25a2d7439490650b2
Fix compilation error on android build.

The error that appears when trying to build swiftshader master as part
of android is:
external/swiftshader/src/Shader/Shader.cpp:1886:51: error: expected '(' for function-style cast or type construction

Change-Id: I667f249e46ed99c3c598490182e495c0862c64a9
Reviewed-on: https://swiftshader-review.googlesource.com/c/23768
Tested-by: Chris Forbes <chrisforbes@google.com>
Reviewed-by: Lingfeng Yang <lfy@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
src/Shader/Shader.cpp