Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import android.opengl.GLES20;

public class Main {
    private static String[] sExtenions = null;

    public static String[] getExtensions() {
        if (null == sExtenions) {
            sExtenions = GLES20.glGetString(GLES20.GL_EXTENSIONS).split("\\s");
        }
        return sExtenions;
    }
}