Commit cf9dfa49 by Corentin Wallez

Add missing includes in samples/sample_util/

BUG=angleproject:892 Change-Id: Ia718306226ce6cfcf91f74947a7775b1439e4fab Reviewed-on: https://chromium-review.googlesource.com/268995Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Tested-by: 's avatarCorentin Wallez <cwallez@chromium.org>
parent 4b6bfe10
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#define _USE_MATH_DEFINES #define _USE_MATH_DEFINES
#include <math.h> #include <math.h>
#include <cstddef>
Matrix4::Matrix4() Matrix4::Matrix4()
{ {
......
...@@ -7,10 +7,11 @@ ...@@ -7,10 +7,11 @@
#ifndef SAMPLE_UTIL_GEOMETRY_UTILS_H #ifndef SAMPLE_UTIL_GEOMETRY_UTILS_H
#define SAMPLE_UTIL_GEOMETRY_UTILS_H #define SAMPLE_UTIL_GEOMETRY_UTILS_H
#include <cstddef>
#include <vector>
#include <GLES2/gl2.h> #include <GLES2/gl2.h>
#include "Vector.h" #include "Vector.h"
#include <vector>
struct SphereGeometry struct SphereGeometry
{ {
......
...@@ -6,10 +6,11 @@ ...@@ -6,10 +6,11 @@
#include "tga_utils.h" #include "tga_utils.h"
#include <iostream> #include <limits.h>
#include <cstdint>
#include <fstream> #include <fstream>
#include <iostream>
#include <string> #include <string>
#include <cstdint>
TGAImage::TGAImage() TGAImage::TGAImage()
: data(0), width(0), height(0) : data(0), width(0), height(0)
......
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
#ifndef SAMPLE_UTIL_TGA_UTILS_HPP #ifndef SAMPLE_UTIL_TGA_UTILS_HPP
#define SAMPLE_UTIL_TGA_UTILS_HPP #define SAMPLE_UTIL_TGA_UTILS_HPP
#include <GLES2/gl2.h>
#include <array> #include <array>
#include <vector> #include <vector>
#include <GLES2/gl2.h>
typedef std::array<unsigned char, 4> Byte4; typedef std::array<unsigned char, 4> Byte4;
struct TGAImage struct TGAImage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment