diff options
| -rw-r--r-- | libs/renderengine/skia/SkiaGLRenderEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/renderengine/skia/SkiaGLRenderEngine.cpp b/libs/renderengine/skia/SkiaGLRenderEngine.cpp index b4a2d79f4b..dc14fc2cc7 100644 --- a/libs/renderengine/skia/SkiaGLRenderEngine.cpp +++ b/libs/renderengine/skia/SkiaGLRenderEngine.cpp @@ -337,7 +337,7 @@ bool SkiaGLRenderEngine::useProtectedContext(bool useProtectedContext) { if (useProtectedContext == mInProtectedContext) { return true; } - if (useProtectedContext && supportsProtectedContent()) { + if (useProtectedContext && !supportsProtectedContent()) { return false; } const EGLSurface surface = |