From 91c65cf1dcd929a4dc8aad316f54905b1b5f6481 Mon Sep 17 00:00:00 2001 From: Soaryn Date: Tue, 8 Apr 2014 03:18:16 -0400 Subject: [PATCH 1/2] Fixes access to TextureUtil.uploadTextureSub Since TextureUtil.uploadTextureMipmap is private, I used the next available function which does the same thing with a needless for loop in our case. It, however, is public static :) --- codechicken/lib/render/TextureSpecial.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/codechicken/lib/render/TextureSpecial.java b/codechicken/lib/render/TextureSpecial.java index 3fe2beb..5d2ee55 100644 --- a/codechicken/lib/render/TextureSpecial.java +++ b/codechicken/lib/render/TextureSpecial.java @@ -65,7 +65,8 @@ public class TextureSpecial extends TextureAtlasSprite implements IIconSelfRegis if (textureFX != null) { textureFX.update(); if (textureFX.changed()) - TextureUtil.uploadTextureSub(0, textureFX.imageData, width, height, originX, originY, false, false, false); + //TextureUtil.uploadTextureSub(0, textureFX.imageData, width, height, originX, originY, false, false, false); not accessible + TextureUtil.uploadTextureMipmap(new int[][]{textureFX.imageData}, width, height, originX, originY, false, false); } } From 4e87c9bfe76803e4a8ee4aecf0e5e7159ec0841c Mon Sep 17 00:00:00 2001 From: Progwml6 Date: Tue, 8 Apr 2014 03:54:33 -0400 Subject: [PATCH 2/2] make gradle play nice w/ files in the repo root --- build.gradle | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index efa5cca..359951a 100644 --- a/build.gradle +++ b/build.gradle @@ -54,17 +54,15 @@ jar { } } - sourceSets { main { java { - srcDir '/' - include 'CodeChicken/**/*' - } + srcDir "\\" + include 'codechicken\\**\\*.java' + } } } - // Add in a source jar for people, should they desire to download such a thing task sourceJar(type: Jar) { from sourceSets.main.allSource