OSDN Git Service

Fix bug where mExtensions was not initialized.
authorChristopher Ferris <cferris@google.com>
Sat, 14 Nov 2015 02:15:26 +0000 (18:15 -0800)
committerChristopher Ferris <cferris@google.com>
Sat, 14 Nov 2015 04:10:17 +0000 (20:10 -0800)
Recent changes to mExtensions moved the initialization code from the
constructor to a separate function called load. Make sure to call
this function in the initExtensions function call.

Bug: 25615666

Change-Id: Ic016232c42afefd3b5bc3e4bd5c8428a11c454ad

libs/hwui/Caches.cpp

index 94a11f1..a327614 100644 (file)
@@ -79,6 +79,7 @@ bool Caches::init() {
 }
 
 void Caches::initExtensions() {
+    mExtensions.load();
     if (mExtensions.hasDebugMarker()) {
         eventMark = glInsertEventMarkerEXT;