Revision ed1c0b33
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/olimpic/OlimpicRenderer.java | ||
---|---|---|
147 | 147 |
|
148 | 148 |
try |
149 | 149 |
{ |
150 |
Distorted.onSurfaceCreated(mView); |
|
150 |
Distorted.onSurfaceCreated(mView.getContext());
|
|
151 | 151 |
} |
152 | 152 |
catch(Exception ex) |
153 | 153 |
{ |
154 |
android.util.Log.e("DifferentEffectsRenderer", ex.getMessage() );
|
|
154 |
android.util.Log.e("Olympic", ex.getMessage() );
|
|
155 | 155 |
} |
156 | 156 |
} |
157 | 157 |
|
Also available in: Unified diff
Switch to sending a Context (rather than a GLSurfaceView) to the library.