(Program programOld, Program programNew)
| 3494 | } |
| 3495 | |
| 3496 | private static void updateAlphaBlend(Program programOld, Program programNew) |
| 3497 | { |
| 3498 | if (programOld.getAlphaState() != null) |
| 3499 | { |
| 3500 | GlStateManager.unlockAlpha(); |
| 3501 | } |
| 3502 | |
| 3503 | if (programOld.getBlendState() != null) |
| 3504 | { |
| 3505 | GlStateManager.unlockBlend(); |
| 3506 | } |
| 3507 | |
| 3508 | GlAlphaState glalphastate = programNew.getAlphaState(); |
| 3509 | |
| 3510 | if (glalphastate != null) |
| 3511 | { |
| 3512 | GlStateManager.lockAlpha(glalphastate); |
| 3513 | } |
| 3514 | |
| 3515 | GlBlendState glblendstate = programNew.getBlendState(); |
| 3516 | |
| 3517 | if (glblendstate != null) |
| 3518 | { |
| 3519 | GlStateManager.lockBlend(glblendstate); |
| 3520 | } |
| 3521 | } |
| 3522 | |
| 3523 | private static void setProgramUniform1i(ShaderUniform1i su, int value) |
| 3524 | { |
no test coverage detected