Various performance and concurrency optimizations
This commit is contained in:
parent
fd887b47b4
commit
05aa0960f2
6 changed files with 115 additions and 74 deletions
|
|
@ -123,8 +123,8 @@ public class TexturePackHDShader implements HDShader {
|
|||
* Reset renderer state for new ray
|
||||
*/
|
||||
public void reset(HDPerspectiveState ps) {
|
||||
for(Color c: color)
|
||||
c.setTransparent();
|
||||
for(int i = 0; i < color.length; i++)
|
||||
color[i].setTransparent();
|
||||
lastblkid = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue