apitrace/apitrace — pull request #124 by jdupuy (2013-04-27 20:14:46+00:00)
Title: Trace corruption on linux + AMD

This commit fixes trace corruptions on linux systems running with AMD GPUs, because the eglGetCurrentContext function is unavailable.
I've only modified glstate_images.cpp which is causing the issue: I've simply undefed the __linux__ macro for the getDrawableBounds function, hence the HAVE_X11 code is executed instead, which works for me