Revision ed1c0b33
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/scratchpad/ScratchpadRenderer.java | ||
---|---|---|
63 | 63 |
|
64 | 64 |
try |
65 | 65 |
{ |
66 |
Distorted.onSurfaceCreated(mView); |
|
66 |
Distorted.onSurfaceCreated(mView.getContext());
|
|
67 | 67 |
} |
68 | 68 |
catch(Exception ex) |
69 | 69 |
{ |
70 |
android.util.Log.e("Renderer", ex.getMessage() );
|
|
70 |
android.util.Log.e("Scratchpad", ex.getMessage() );
|
|
71 | 71 |
} |
72 | 72 |
} |
73 | 73 |
|
Also available in: Unified diff
Switch to sending a Context (rather than a GLSurfaceView) to the library.