api-ipml/GLSurfaceView: fix indentation/newlines, fix compilation when DEBUG_GLAREA is defined

This commit is contained in:
Mis012
2023-10-09 20:10:29 +02:00
parent f5b35b5ce9
commit bf8f11d123
2 changed files with 14 additions and 16 deletions

View File

@@ -90,19 +90,19 @@ public class GLSurfaceView extends View implements SurfaceHolder.Callback { // T
}
native_set_renderer(renderer, implements_onTouchEvent);
/* checkRenderThreadState();
if (mEGLConfigChooser == null) {
mEGLConfigChooser = new SimpleEGLConfigChooser(true);
}
if (mEGLContextFactory == null) {
mEGLContextFactory = new DefaultContextFactory();
}
if (mEGLWindowSurfaceFactory == null) {
mEGLWindowSurfaceFactory = new DefaultWindowSurfaceFactory();
}
mRenderer = renderer;
mGLThread = new GLThread(mThisWeakRef);
mGLThread.start();*/
/* checkRenderThreadState();
if (mEGLConfigChooser == null) {
mEGLConfigChooser = new SimpleEGLConfigChooser(true);
}
if (mEGLContextFactory == null) {
mEGLContextFactory = new DefaultContextFactory();
}
if (mEGLWindowSurfaceFactory == null) {
mEGLWindowSurfaceFactory = new DefaultWindowSurfaceFactory();
}
mRenderer = renderer;
mGLThread = new GLThread(mThisWeakRef);
mGLThread.start();*/
}
public interface Renderer {