Hide
Don't get spied on – We respect your privacy and provide numerous options to protect it. Join Siafoo Now or Learn More

Using GLSL with PyOpenGL

Revision 1 vs. Revision 2

Legend:

Unmodified
Added
Removed
  • Code

    r1 r2  
    2929glCompileShader = gl.glCompileShader  
    3030glGetShaderiv = gl.glGetShaderiv  
    3131glGetShaderiv.argtypes = [c_int, c_int, POINTER(c_int)]  
    3232glGetShaderInfoLog = gl.glGetShaderInfoLog  
    3333glGetShaderInfoLog.argtypes = [c_int, c_int, POINTER(c_int), c_char_p]  
     34glGetUniformLocation = gl.glGetUniformLocation  
     35glUniform1i = gl.glUniform1i  
    3436glDeleteShader = gl.glDeleteShader  
    3537glCreateProgram = gl.glCreateProgram  
    3638glAttachShader = gl.glAttachShader  
    3739glLinkProgram = gl.glLinkProgram  
    3840glGetError = gl.glGetError