# HG changeset patch # User MattD # Date 1265653118 0 # Node ID 31d73acc545959e680048d3542f8caa8406c87a3 # Parent dd8110ac9267684540b5c451e30fcaf9ebb076b8 Improved debugging for Bug 1530 - Panic during startup: ALF EGL 1 diff -r dd8110ac9267 -r 31d73acc5459 egl/eglrefimpl/src/entrypoints.cpp --- a/egl/eglrefimpl/src/entrypoints.cpp Mon Feb 08 15:55:52 2010 +0000 +++ b/egl/eglrefimpl/src/entrypoints.cpp Mon Feb 08 18:18:38 2010 +0000 @@ -14,6 +14,7 @@ // Reference EGL implementation to support EGL sync objects and OpenWF extensions #include "eglprivate.h" +#include // Helper macros // @@ -23,7 +24,7 @@ return r; \ } -#define PANIC_NOT_SUPPORTED User::Panic(KEglPanicCategory, EEglPanicNotSupported); \ +#define PANIC_NOT_SUPPORTED RDebug::Printf("EGL Panic %s %s:%d\n",__func__,__FILE__,__LINE__);User::Panic(KEglPanicCategory, EEglPanicNotSupported); \ return 0; // EGL API entrypoints