aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/templates/openglfunctions_common.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/PySide2/templates/openglfunctions_common.xml')
-rw-r--r--sources/pyside2/PySide2/templates/openglfunctions_common.xml2
1 files changed, 0 insertions, 2 deletions
diff --git a/sources/pyside2/PySide2/templates/openglfunctions_common.xml b/sources/pyside2/PySide2/templates/openglfunctions_common.xml
index e01094004..117229a29 100644
--- a/sources/pyside2/PySide2/templates/openglfunctions_common.xml
+++ b/sources/pyside2/PySide2/templates/openglfunctions_common.xml
@@ -41,10 +41,8 @@
-->
<typesystem>
<template name="glGetString_return_QString">
- %BEGIN_ALLOW_THREADS
const GLubyte *us = %CPPSELF.%FUNCTION_NAME(%ARGUMENT_NAMES);
const QString s = QString::fromLocal8Bit(reinterpret_cast&lt;const char *&gt;(us));
- %END_ALLOW_THREADS
%PYARG_0 = %CONVERTTOPYTHON[QString](s);
</template>
</typesystem>