From 8fa554f35b74015b784e5451a8b9e3bb5c14136a Mon Sep 17 00:00:00 2001 From: Liran Date: Mon, 27 Jun 2011 14:27:12 +0300 Subject: [PATCH] egl translator fix infinite loop in egl translator --- tools/emulator/opengl/host/libs/Translator/EGL/EglImp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/emulator/opengl/host/libs/Translator/EGL/EglImp.cpp b/tools/emulator/opengl/host/libs/Translator/EGL/EglImp.cpp index 9c84a1754..b6c8ab4b7 100644 --- a/tools/emulator/opengl/host/libs/Translator/EGL/EglImp.cpp +++ b/tools/emulator/opengl/host/libs/Translator/EGL/EglImp.cpp @@ -289,7 +289,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig(EGLDisplay display, const EGLint * case EGL_MAX_PBUFFER_HEIGHT: case EGL_MAX_PBUFFER_PIXELS: case EGL_NATIVE_VISUAL_ID: - continue; //we dont care from those selection crateria + break; //we dont care from those selection crateria case EGL_LEVEL: if(attrib_list[i+1] == EGL_DONT_CARE) { RETURN_ERROR(EGL_FALSE,EGL_BAD_ATTRIBUTE);