diff options
author | Corentin Wallez <cwallez@chromium.org> | 2015-05-07 14:50:28 -0400 |
---|---|---|
committer | Corentin Wallez <cwallez@chromium.org> | 2015-05-11 14:51:09 +0000 |
commit | 12a8e86685811d94a1b5ff357134ce495587a281 (patch) | |
tree | eb054c042a9bc41f9099dab02c4990f4eeda8ec8 /samples/multiple_draw_buffers | |
parent | eaa759c46fbbe331cbb04ee70babd464fdd02f7a (diff) | |
download | angle-12a8e86685811d94a1b5ff357134ce495587a281.tar.gz |
Make all the samples compile under Linux
Two-thirds of them run and work well.
BUG=angleproject:892
Change-Id: I401a7ef4fd055eda7276bd34dcf0fc6ae0deff13
Reviewed-on: https://chromium-review.googlesource.com/270124
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Tested-by: Corentin Wallez <cwallez@chromium.org>
Diffstat (limited to 'samples/multiple_draw_buffers')
-rw-r--r-- | samples/multiple_draw_buffers/MultipleDrawBuffers.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/multiple_draw_buffers/MultipleDrawBuffers.cpp b/samples/multiple_draw_buffers/MultipleDrawBuffers.cpp index 3826eaa9b3..3735de8d7a 100644 --- a/samples/multiple_draw_buffers/MultipleDrawBuffers.cpp +++ b/samples/multiple_draw_buffers/MultipleDrawBuffers.cpp @@ -18,12 +18,13 @@ #include "path_utils.h" #include "texture_utils.h" +#include <cstring> #include <iostream> class MultipleDrawBuffersSample : public SampleApplication { public: - MultipleDrawBuffersSample::MultipleDrawBuffersSample() + MultipleDrawBuffersSample() : SampleApplication("MultipleDrawBuffers", 1280, 720) { } |