summaryrefslogtreecommitdiff
path: root/libs/hwui/Extensions.cpp
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2015-11-16 20:36:01 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2015-11-16 20:36:01 +0000
commitf286822aad12bda7d85d43b02177600489cea510 (patch)
tree613f4d74bfab5852134cf00224c8ed1c7defe8c8 /libs/hwui/Extensions.cpp
parentca3f938326455701def9151f0fe8fea736a594cd (diff)
parent1540153198fc59e5f344b363c198acf5b65251aa (diff)
Merge "Extensions must load in ctor"
Diffstat (limited to 'libs/hwui/Extensions.cpp')
-rw-r--r--libs/hwui/Extensions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Extensions.cpp b/libs/hwui/Extensions.cpp
index e257715acaeb..02caaa49e99c 100644
--- a/libs/hwui/Extensions.cpp
+++ b/libs/hwui/Extensions.cpp
@@ -35,7 +35,7 @@ namespace uirenderer {
#endif
-void Extensions::load() {
+Extensions::Extensions() {
auto extensions = StringUtils::split((const char*) glGetString(GL_EXTENSIONS));
mHasNPot = extensions.has("GL_OES_texture_npot");
mHasFramebufferFetch = extensions.has("GL_NV_shader_framebuffer_fetch");