def _PrintInfoLog(self, glObject, preamble=""): """ Print the info log. """ log = gla.glGetInfoLogARB(glObject) if log: print preamble, log.rstrip() # If this is a renderstyle, notify user to use an alternative if '3D_FRAGMENT_SHADER' in self._fragmentCode: print('Try using a different render style.')
def _PrintInfoLog(self, glObject, preamble=""): """ Print the info log. """ log = gla.glGetInfoLogARB(glObject) if log: print preamble, log.rstrip() # If this is a renderstyle, notify user to use an alternative if '3D_FRAGMENT_SHADER' in self._fragmentCode: print('Try using a different render style.')
def _PrintInfoLog(self, glObject, preamble=""): """ Print the info log. """ log = gla.glGetInfoLogARB(glObject) if not isinstance(log, str): log = log.decode('ascii') # Make it work on Python 3 if log: print(preamble + ' ' + log.rstrip()) # If this is a renderstyle, notify user to use an alternative if '3D_FRAGMENT_SHADER' in self._fragmentCode: print('Try using a different render style.')
def _PrintInfoLog(self, glObject, preamble=""): """ Print the info log. """ log = gla.glGetInfoLogARB(glObject) if not isinstance(log, str): log = log.decode('ascii') # Make it work on Python 3 if log: print(preamble + ' ' + log.rstrip()) # If this is a renderstyle, notify user to use an alternative if '3D_FRAGMENT_SHADER' in self._fragmentCode: print('Try using a different render style.')