Clone Mastodon's repository.
# Clone mastodon to ~/live directory
git clone https://github.com/tootsuite/mastodon.git live
# Change directory to ~/live
cd ~/live
| from OpenGL import GLX | |
| def clinit(self): | |
| plats = cl.get_platforms() | |
| ctx_props = cl.context_properties | |
| props = [(ctx_props.PLATFORM, plats[0]), | |
| (ctx_props.GL_CONTEXT_KHR, platform.GetCurrentContext())] | |
| import sys |