Searched refs:prog_id (Results 1 – 1 of 1) sorted by relevance
41 GLuint prog_id = glCreateProgram(); in LoadProgram() local54 GL(glAttachShader(prog_id, vert_id)); in LoadProgram()55 GL(glAttachShader(prog_id, frag_id)); in LoadProgram()57 GL(glLinkProgram(prog_id)); in LoadProgram()59 GL(glDetachShader(prog_id, vert_id)); in LoadProgram()60 GL(glDetachShader(prog_id, frag_id)); in LoadProgram()65 return prog_id; in LoadProgram()