diff options
author | Chris Craik <ccraik@google.com> | 2015-02-11 13:17:06 -0800 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2015-02-12 12:30:59 -0800 |
commit | 0519c810a56bded1284fcb2ae40f438878c6585f (patch) | |
tree | d5e0a81ea08b9f3fc9d5e8d78b770a8c77aa4535 /libs/hwui/Vertex.h | |
parent | 08fa43fdeb646f56edcd8b33d06ee7d79b203426 (diff) |
Glop Bitmap and RoundRect clipping support
Change-Id: I4577546a5d2e5f084cc03f39a89db9231b8111ee
Diffstat (limited to 'libs/hwui/Vertex.h')
-rw-r--r-- | libs/hwui/Vertex.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/hwui/Vertex.h b/libs/hwui/Vertex.h index 5b80bbd47ef1..fd3845da5efb 100644 --- a/libs/hwui/Vertex.h +++ b/libs/hwui/Vertex.h @@ -19,11 +19,9 @@ #include "Vector.h" -#include <type_traits> +#include "utils/Macros.h" -#define REQUIRE_COMPATIBLE_LAYOUT(TARGET_TYPE) \ - static_assert(std::is_standard_layout<TARGET_TYPE>::value, \ - #TARGET_TYPE " must have standard layout") +#include <type_traits> namespace android { namespace uirenderer { |