Files
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

29 lines
1.1 KiB
Java

package com.firemint.realracing;
import android.opengl.GLSurfaceView;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
/* loaded from: classes2.dex */
class GLRenderer implements GLSurfaceView.Renderer {
@Override // android.opengl.GLSurfaceView.Renderer
public void onSurfaceCreated(GL10 gl10, EGLConfig eGLConfig) {
MainActivity.instance.onViewCreatedJNI();
}
@Override // android.opengl.GLSurfaceView.Renderer
public void onSurfaceChanged(GL10 gl10, int i, int i2) {
MainActivity mainActivity = MainActivity.instance;
mainActivity.OnViewChanged(i, i2, mainActivity.getScreenOrientation(), MainActivity.instance.getScreenRotation());
}
@Override // android.opengl.GLSurfaceView.Renderer
public void onDrawFrame(GL10 gl10) {
if (MainActivity.getGameState() == 5) {
return;
}
MainActivity mainActivity = MainActivity.instance;
mainActivity.onViewRenderJNI(mainActivity.getScreenOrientation(), MainActivity.instance.getScreenRotation());
}
}