mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 23:40:39 +00:00
Revert two accidental minor changes
This commit is contained in:
parent
842290b6dd
commit
81b781fd4f
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user