Searched refs:header_and_body (Results 1 – 2 of 2) sorted by relevance
336 const char** header_and_body = new const char*[count + 1]; in InitShaderProgramWithHeaders() local338 memcpy(header_and_body, headers, count * sizeof(const char*)); in InitShaderProgramWithHeaders()339 header_and_body[count] = vertex_src; in InitShaderProgramWithHeaders()340 glShaderSource(vertex_shader, count + 1, header_and_body, NULL); in InitShaderProgramWithHeaders()341 header_and_body[count] = fragment_src; in InitShaderProgramWithHeaders()342 glShaderSource(fragment_shader, count + 1, header_and_body, NULL); in InitShaderProgramWithHeaders()343 delete[] header_and_body; in InitShaderProgramWithHeaders()
26 required bytes header_and_body = 1; field27 // Signature of header_and_body