1 From 8b3afcaeebdd87962f2f3fef36973090621d116b Mon Sep 17 00:00:00 2001
2 From: Max Krummenacher <max.krummenacher@toradex.com>
3 Date: Sun, 29 Mar 2020 15:38:31 +0000
4 Subject: [PATCH 5/5] scripts: Tie a few more Python 2 to 3 conversion loose
7 Upstream-Status: pending
8 Note: code exists in NXP's fork only.
10 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
12 wrappers/glxtrace.py | 14 +++++++-------
13 1 file changed, 7 insertions(+), 7 deletions(-)
15 diff --git a/wrappers/glxtrace.py b/wrappers/glxtrace.py
16 index b05028e2..2472560d 100644
17 --- a/wrappers/glxtrace.py
18 +++ b/wrappers/glxtrace.py
19 @@ -67,9 +67,9 @@ class GlxTracer(GlTracer):
20 print(' gltrace::releaseContext((uintptr_t)ctx);')
22 if function.name == 'glXGetCurrentDisplay':
23 - print ' if(_glXGetCurrentDisplay == &glXGetCurrentDisplay ){'
24 - print ' _glXGetCurrentDisplay = (PFN_GLXGETCURRENTDISPLAY)_getPublicProcAddress("glXGetCurrentDisplay");'
26 + print (' if(_glXGetCurrentDisplay == &glXGetCurrentDisplay ){')
27 + print (' _glXGetCurrentDisplay = (PFN_GLXGETCURRENTDISPLAY)_getPublicProcAddress("glXGetCurrentDisplay");')
30 GlTracer.traceFunctionImplBody(self, function)
32 @@ -184,7 +184,7 @@ if __name__ == '__main__':
41 @@ -247,8 +247,8 @@ void * dlopen(const char *filename, int flag)
50 * let the GPU driver know that we are in apitrace
52 @@ -257,4 +257,4 @@ int APIENTRY ApiTraceEnabled(void) {