예제 #1
0
void R_ProgramParameter1fvs (const char* name, GLint size, GLfloat* value)
{
	r_progvar_t* v;

	if (!(v = R_ProgramVariable(GL_UNIFORM, name)))
		return;

	qglUniform1fv(v->location, size, value);
}
예제 #2
0
파일: tr_dsa.c 프로젝트: ArtanAhmeti/lab
GLvoid APIENTRY GLDSA_ProgramUniform1fvEXT(GLuint program, GLint location,
	GLsizei count, const GLfloat *value)
{
	GL_UseProgram(program);
	qglUniform1fv(location, count, value);
}