Commit 5568bb40 authored by Evan Ramos's avatar Evan Ramos
Browse files

Revert r8712

From-SVN: r8739
parent d39fb990
......@@ -871,9 +871,8 @@ void polymost_shadeInterpolate(int32_t shadeInterpolate)
void polymost_activeTexture(GLenum texture)
{
if (currentActiveTexture != texture)
glad_glActiveTexture(texture);
currentActiveTexture = texture;
glad_glActiveTexture(texture);
}
//POGOTODO: replace this and polymost_activeTexture with proper draw call organization
......@@ -923,8 +922,7 @@ static void polymost_bindPth(pthtyp const * const pPth)
void polymost_useShaderProgram(uint32_t shaderID)
{
if (currentShaderProgramID != shaderID)
glUseProgram(shaderID);
glUseProgram(shaderID);
currentShaderProgramID = shaderID;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment