Kaydet (Commit) 2e61410d authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bin dead code

We already have an if statement for (time < PART) right above.

Change-Id: I43b817dd6d0a11be4ed51a5bd378806447abf69c
üst 8c84777c
......@@ -53,8 +53,6 @@ void main() {
gl_FragColor = ((time-START)/(PART - START))*vec4(sn, sn, sn, 1.0) + (1.0 - (time - START)/(PART - START))*texture2D(leavingSlideTexture, v_texturePosition);
else
gl_FragColor = texture2D(leavingSlideTexture, v_texturePosition);
} else if ( time < PART ) {
gl_FragColor = texture2D(leavingSlideTexture, v_texturePosition);
} else if ( time > END ) {
gl_FragColor = ((1.0 - time)/(1.0 - END))*vec4(sn, sn, sn, 1.0) + ((time - END)/(1.0 - END))*texture2D(enteringSlideTexture, v_texturePosition);
} else
......
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