| 434 | |
| 435 | |
| 436 | FRenderStyle GetRenderStyle(int blend, int def) |
| 437 | { |
| 438 | FRenderStyle rs; |
| 439 | rs.BlendOp = STYLEOP_Add; |
| 440 | auto glbdef = &glblend[blend].def[def]; |
| 441 | rs.SrcAlpha = glbdef->src; |
| 442 | rs.DestAlpha = glbdef->dst; |
| 443 | rs.Flags = 0; |
| 444 | return rs; |
| 445 | } |
| 446 | |
| 447 | float GetAlphaFromBlend(uint32_t method, uint32_t blend) |
| 448 | { |
no outgoing calls
no test coverage detected