Skip to content
This repository was archived by the owner on Feb 19, 2019. It is now read-only.

Commit a59ed27

Browse files
committed
Minor bug fixing
Allow implementation of Shader Fix IndexOutOfBoundsException
1 parent fdf9adf commit a59ed27

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/me/zero/client/api/util/render/RenderUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ private static void rectangleGradient(float x1, float y1, float x2, float y2, in
254254
c1 = color[0];
255255
c2 = color[0];
256256
c3 = color[1];
257-
c4 = color[2];
257+
c4 = color[1];
258258
} else {
259259
c1 = color[0];
260260
c2 = color[1];

src/main/java/me/zero/client/api/util/render/gl/ShaderProgram.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* @author Brady
3333
* @since 7/23/2017 3:31 PM
3434
*/
35-
public final class ShaderProgram extends GLObject {
35+
public class ShaderProgram extends GLObject {
3636

3737
/**
3838
* Instance of the system supported shader adapter

0 commit comments

Comments
 (0)