From 65cc40a5fb110ec54213dbfc18eb9fc9363f886b Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Tue, 24 Apr 2018 16:55:57 -0400 Subject: [PATCH] add missing @Override annotation to get rid of warning --- core/src/processing/opengl/PJOGL.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/processing/opengl/PJOGL.java b/core/src/processing/opengl/PJOGL.java index 37899199d..99d591f28 100644 --- a/core/src/processing/opengl/PJOGL.java +++ b/core/src/processing/opengl/PJOGL.java @@ -503,12 +503,15 @@ public class PJOGL extends PGL { return ((Font) font).deriveFont(size); } + @Override protected int getGLSLVersion() { VersionNumber vn = context.getGLSLVersionNumber(); return vn.getMajor() * 100 + vn.getMinor(); } + + @Override protected String getGLSLVersionSuffix() { if (context.isGLESProfile()) { return " es";