view pytouhou/ui/opengl/backend.pxd @ 557:0f2af7552462

Don’t hardcode GLSL version in our shaders, instead make them dependent on GL version.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 30 May 2014 16:40:36 +0200
parents c34b23e29d16
children 94725968dabb
line wrap: on
line source

from pytouhou.lib.sdl cimport SDL_GLprofile

cdef SDL_GLprofile flavor
cdef str version
cdef int major
cdef int minor
cdef int double_buffer
cdef bint is_legacy
cdef str shader_header