Fix OpenGL shader/texture sharing on PySide