Skip to content

Commit 3b46d45

Browse files
committed
Remove GLES30 import and usages
Signed-off-by: Umair Khan <[email protected]>
1 parent 2936f04 commit 3b46d45

File tree

1 file changed

+0
-21
lines changed
  • src/in/omerjerk/processing/video/android/helpers

1 file changed

+0
-21
lines changed

src/in/omerjerk/processing/video/android/helpers/GlUtil.java

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package in.omerjerk.processing.video.android.helpers;
1818

1919
import android.opengl.GLES20;
20-
import android.opengl.GLES30;
2120
import android.opengl.Matrix;
2221
import android.util.Log;
2322

@@ -172,24 +171,4 @@ public static FloatBuffer createFloatBuffer(float[] coords) {
172171
fb.position(0);
173172
return fb;
174173
}
175-
176-
/**
177-
* Writes GL version info to the log.
178-
*/
179-
public static void logVersionInfo() {
180-
Log.i(TAG, "vendor : " + GLES20.glGetString(GLES20.GL_VENDOR));
181-
Log.i(TAG, "renderer: " + GLES20.glGetString(GLES20.GL_RENDERER));
182-
Log.i(TAG, "version : " + GLES20.glGetString(GLES20.GL_VERSION));
183-
184-
if (false) {
185-
int[] values = new int[1];
186-
GLES30.glGetIntegerv(GLES30.GL_MAJOR_VERSION, values, 0);
187-
int majorVersion = values[0];
188-
GLES30.glGetIntegerv(GLES30.GL_MINOR_VERSION, values, 0);
189-
int minorVersion = values[0];
190-
if (GLES30.glGetError() == GLES30.GL_NO_ERROR) {
191-
Log.i(TAG, "iversion: " + majorVersion + "." + minorVersion);
192-
}
193-
}
194-
}
195174
}

0 commit comments

Comments
 (0)