Lines Matching refs:program
166 GLuint program = glCreateProgram(); in createProgram() local
167 if (program) { in createProgram()
168 glAttachShader(program, vertexShader); in createProgram()
169 glAttachShader(program, fragmentShader); in createProgram()
172 glLinkProgram(program); in createProgram()
173 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); in createProgram()
177 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLen); in createProgram()
180 glGetProgramInfoLog(program, infoLen, NULL, infoLog); in createProgram()
185 glDeleteProgram(program); in createProgram()
186 program = 0; in createProgram()
189 return program; in createProgram()