Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 905787a7 authored by Chet Haase's avatar Chet Haase
Browse files

Fix the build: break due to no OPENGL in some builds

Change-Id: Ibceb501d2361df9b74dc1964ff6b92ec8452f219
parent 756484c2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -600,8 +600,10 @@ jfieldID gFileDescriptorField;
static void
android_app_ActivityThread_dumpGraphics(JNIEnv* env, jobject clazz, jobject javaFileDescriptor)
{
#ifdef USE_OPENGL_RENDERER
    int fd = env->GetIntField(javaFileDescriptor, gFileDescriptorField);
    android::uirenderer::DisplayList::outputLogBuffer(fd);
#endif // USE_OPENGL_RENDERER
}

// ----------------------------------------------------------------------------