Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

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

public class Main {
    private static final String LOGTAG = "Vuforia_Sample_Applications";

    public static void checkGLError(String op) {
        for (int error = GLES20.glGetError(); error != 0; error = GLES20.glGetError())
            Log.e(LOGTAG, "After operation " + op + " got glError 0x" + Integer.toHexString(error));
    }
}