From f6e710717289f9c4b47494607a8b54f2c6da276e Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Thu, 26 May 2022 18:03:40 +0100 Subject: [PATCH 1/1] (egl-implementation.cpp) Removed unnecessary Error message Change-Id: I6630c7ea4f5e765ad591b85a1a1b14d7583e00d8 --- dali/internal/graphics/gles/egl-implementation.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/dali/internal/graphics/gles/egl-implementation.cpp b/dali/internal/graphics/gles/egl-implementation.cpp index d63989f..6187d19 100644 --- a/dali/internal/graphics/gles/egl-implementation.cpp +++ b/dali/internal/graphics/gles/egl-implementation.cpp @@ -414,15 +414,6 @@ EGLint EglImplementation::GetBufferAge(EGLSurface& eglSurface) const DALI_LOG_ERROR("eglQuerySurface(%d)\n", eglGetError()); age = 0; } - - // 0 - invalid buffer - // 1, 2, 3 - if(age > 3) - { - DALI_LOG_ERROR("EglImplementation::GetBufferAge() buffer age %d > 3\n", age); - age = 0; // shoudn't be more than 3 back buffers, if there is just reset, I don't want to add extra history level - } - return age; } -- 2.7.4