Revision 76f9798b
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/listener/ListenerRenderer.java | ||
---|---|---|
64 | 64 |
|
65 | 65 |
ListenerRenderer(GLSurfaceView v) |
66 | 66 |
{ |
67 |
Distorted.setMaxVertex(NUM_BUBBLES);
|
|
67 |
DistortedEffects.setMaxVertex(NUM_BUBBLES);
|
|
68 | 68 |
mView = v; |
69 | 69 |
mEffects = new DistortedEffects(); |
70 | 70 |
mEffects.registerForMessages(this); |
... | ... | |
168 | 168 |
|
169 | 169 |
try |
170 | 170 |
{ |
171 |
Distorted.onSurfaceCreated(mView.getContext());
|
|
171 |
Distorted.onCreate(mView.getContext());
|
|
172 | 172 |
} |
173 | 173 |
catch(Exception ex) |
174 | 174 |
{ |
Also available in: Unified diff
New DistortedProgram class.