Home
last modified time | relevance | path

Searched refs:maxUniformNameLength (Results 1 – 2 of 2) sorted by relevance

/dports/games/spring/spring_98.0/rts/Rendering/Shaders/
H A DGLSLCopyState.cpp171 GLsizei numUniforms, maxUniformNameLength; in DO_ONCE() local
173 glGetProgramiv(newProgID, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxUniformNameLength); in DO_ONCE()
175 if (maxUniformNameLength <= 0) in DO_ONCE()
180 std::string name(maxUniformNameLength, 0); in DO_ONCE()
185 glGetActiveUniform(newProgID, i, maxUniformNameLength, &nameLength, &size, &type, &name[0]); in DO_ONCE()
H A DShader.cpp398 GLsizei numUniforms, maxUniformNameLength; in Validate() local
400 glGetProgramiv(objID, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxUniformNameLength); in Validate()
402 if (maxUniformNameLength <= 0) in Validate()
405 std::string bufname(maxUniformNameLength, 0); in Validate()
410 glGetActiveUniform(objID, i, maxUniformNameLength, &nameLength, &size, &type, &bufname[0]); in Validate()