OSDN Git Service

RenderEngine: remove warning "using EGL_IMG_context_priority"
authorMichael Gernoth <michael@gernoth.net>
Tue, 13 Oct 2015 19:08:19 +0000 (21:08 +0200)
committerSteve Kondik <steve@cyngn.com>
Thu, 1 Sep 2016 06:33:23 +0000 (23:33 -0700)
This warning breaks the build as it is treated as an error,
so just remove it.

Change-Id: I1a6353e5960866a9302a8c00eb97d1779b35b6be

services/surfaceflinger/RenderEngine/RenderEngine.cpp

index 27357b9..8f88f1b 100644 (file)
@@ -83,7 +83,6 @@ RenderEngine* RenderEngine::create(EGLDisplay display, int hwcFormat) {
             EGL_CONTEXT_CLIENT_VERSION, contextClientVersion,      // MUST be first
 #ifdef EGL_IMG_context_priority
 #ifdef HAS_CONTEXT_PRIORITY
-#warning "using EGL_IMG_context_priority"
             EGL_CONTEXT_PRIORITY_LEVEL_IMG, EGL_CONTEXT_PRIORITY_HIGH_IMG,
 #endif
 #endif