Mercurial > touhou
diff pytouhou/ui/renderer.pyx @ 383:0537af9125a7
Replace wildcard imports with normal ones.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 07 Sep 2012 13:05:19 +0200 |
parents | 6702bc0215dc |
children | 690b5faaa0e6 |
line wrap: on
line diff
--- a/pytouhou/ui/renderer.pyx +++ b/pytouhou/ui/renderer.pyx @@ -20,7 +20,11 @@ import ctypes from struct import pack -from pyglet.gl import * +from pyglet.gl import (glVertexPointer, glTexCoordPointer, glColorPointer, + glBlendFunc, glBindTexture, glDrawElements, + GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, GL_INT, GL_FLOAT, + GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE, + GL_TEXTURE_2D, GL_TRIANGLES) from .sprite cimport get_sprite_rendering_data from .texture cimport TextureManager