Revision e4237c21
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/save/SaveActivity.java | ||
---|---|---|
57 | 57 |
@Override |
58 | 58 |
protected void onPause() |
59 | 59 |
{ |
60 |
SaveRenderer.stopThread(); |
|
61 |
|
|
60 | 62 |
GLSurfaceView mView = (GLSurfaceView) this.findViewById(R.id.saveSurfaceView); |
61 | 63 |
mView.onPause(); |
62 | 64 |
|
... | ... | |
72 | 74 |
|
73 | 75 |
GLSurfaceView mView = (GLSurfaceView) this.findViewById(R.id.saveSurfaceView); |
74 | 76 |
mView.onResume(); |
77 |
|
|
78 |
SaveRenderer.startThread(this); |
|
75 | 79 |
} |
76 | 80 |
|
77 | 81 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Move the 'Save' effect to the Application and remove the 'OTHER' effect queue