mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
OpenGL: added internal checks to catch GL errors (in debug mode). More Android GL progress.
This commit is contained in:
parent
22c72de736
commit
109f0a32a4
11 changed files with 176 additions and 37 deletions
|
|
@ -81,12 +81,6 @@ public final class JuceAppActivity extends Activity
|
|||
private native void quitApp();
|
||||
private native void setScreenSize (int screenWidth, int screenHeight);
|
||||
|
||||
//==============================================================================
|
||||
public static final void printToConsole (String s)
|
||||
{
|
||||
android.util.Log.i ("Juce", s);
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
public native void deliverMessage (long value);
|
||||
private android.os.Handler messageHandler = new android.os.Handler();
|
||||
|
|
@ -351,6 +345,7 @@ public final class JuceAppActivity extends Activity
|
|||
super (context);
|
||||
setEGLContextClientVersion (2);
|
||||
setRenderer (this);
|
||||
setRenderMode (RENDERMODE_WHEN_DIRTY);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue