MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / Use

Method Use

Sources/nCine/Graphics/GL/GLShaderProgram.cpp:136–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134 }
135
136 void GLShaderProgram::Use()
137 {
138 if (boundProgram_ != glHandle_) {
139 ProcessDeferredQueries();
140
141 glUseProgram(glHandle_);
142 boundProgram_ = glHandle_;
143 }
144 }
145
146 bool GLShaderProgram::Validate()
147 {

Callers 3

DrawMethod · 0.80
BindMethod · 0.80
CommitUniformsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected