From 088cb9c39548b80be92ee6cc37f5aa8290f3283f Mon Sep 17 00:00:00 2001 From: Jakub Valtar Date: Fri, 21 Aug 2015 13:17:09 -0400 Subject: [PATCH] Fix typo in PGL --- core/src/processing/opengl/PGL.java | 2 +- core/src/processing/opengl/PJOGL.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/processing/opengl/PGL.java b/core/src/processing/opengl/PGL.java index a2d010507..b1484733d 100644 --- a/core/src/processing/opengl/PGL.java +++ b/core/src/processing/opengl/PGL.java @@ -2807,7 +2807,7 @@ public abstract class PGL { public abstract void vertexAttrib1fv(int index, FloatBuffer values); public abstract void vertexAttrib2fv(int index, FloatBuffer values); public abstract void vertexAttrib3fv(int index, FloatBuffer values); - public abstract void vertexAttri4fv(int index, FloatBuffer values); + public abstract void vertexAttrib4fv(int index, FloatBuffer values); public abstract void vertexAttribPointer(int index, int size, int type, boolean normalized, int stride, int offset); public abstract void enableVertexAttribArray(int index); public abstract void disableVertexAttribArray(int index); diff --git a/core/src/processing/opengl/PJOGL.java b/core/src/processing/opengl/PJOGL.java index d8ad95def..30363c300 100644 --- a/core/src/processing/opengl/PJOGL.java +++ b/core/src/processing/opengl/PJOGL.java @@ -1956,7 +1956,7 @@ public class PJOGL extends PGL { } @Override - public void vertexAttri4fv(int index, FloatBuffer values) { + public void vertexAttrib4fv(int index, FloatBuffer values) { gl2.glVertexAttrib4fv(index, values); }