- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
29 lines
1.1 KiB
Java
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());
|
|
}
|
|
}
|