… | … | ||
---|---|---|---|
1759 | glDisable GL_BLEND; | 1759 | glDisable GL_BLEND; |
1760 | } | 1760 | } |
1761 | 1761 | ||
1762 | # HACK BEGIN | 1762 | # HACK BEGIN |
1763 | { | 1763 | { |
1764 | glTranslate -(($sx & 31) - 32), -(($sy & 31) - 32), 0;#remove | ||
1764 | my ($w, $h) = (250, 250); | 1765 | my ($w, $h) = (250, 250); |
1765 | 1766 | ||
1766 | glEnable GL_BLEND; | 1767 | glEnable GL_BLEND; |
1767 | glBlendFunc GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA; | 1768 | glBlendFunc GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA; |
1768 | glEnable GL_TEXTURE_2D; | 1769 | glEnable GL_TEXTURE_2D; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |