Revert two accidental minor changes

This commit is contained in:
Henrik Rydgård 2018-10-20 13:25:53 +02:00
parent 842290b6dd
commit 81b781fd4f
2 changed files with 0 additions and 2 deletions

View File

@ -776,7 +776,6 @@ void GLQueueRunner::PerformRenderPass(const GLRStep &step) {
}
case GLRRenderCommand::UNIFORM4F:
{
CHECK_GL_ERROR_IF_DEBUG();
int loc = c.uniform4.loc ? *c.uniform4.loc : -1;
if (c.uniform4.name) {
loc = curProgram->GetUniformLoc(c.uniform4.name);

View File

@ -640,7 +640,6 @@ public:
data.uniform4.loc = loc;
data.uniform4.count = count;
memcpy(data.uniform4.v, udata, sizeof(float) * count);
curRenderStep_->commands.push_back(data);
}