summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2017-04-25 13:41:32 -0700
committer Chris Craik <ccraik@google.com> 2017-04-25 13:42:53 -0700
commit66c3a829dc129b6081979facf5a652d5d9f1f51a (patch)
treebeac0806959eb5e438400f628cb27d595f851cb9
parent8b4cca11f3d9cf58ee0c005e66d811d233e79d21 (diff)
Fix include
Bug: 35387665 Test: builds with HWUI_ENABLE_OPENGL_VALIDATION := false Dependency on gl3.h was added while that header was auto-included for error checking purposes. Add the include to enable us to disable gl error checking. Change-Id: Ic969da716e2323f8e42d20da8fd0a6fa653f9775
-rw-r--r--libs/hwui/Texture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Texture.h b/libs/hwui/Texture.h
index 052c01890317..55b74ed9e234 100644
--- a/libs/hwui/Texture.h
+++ b/libs/hwui/Texture.h
@@ -28,6 +28,7 @@
#include <ui/ColorSpace.h>
#include <GLES2/gl2.h>
+#include <GLES3/gl3.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <SkBitmap.h>