Revision 76f9798b
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/aroundtheworld/AroundTheWorldRenderer.java | ||
---|---|---|
55 | 55 |
|
56 | 56 |
AroundTheWorldRenderer(GLSurfaceView view) |
57 | 57 |
{ |
58 |
Distorted.setMaxVertex(12); |
|
59 |
Distorted.setMaxFragment(9); |
|
58 |
DistortedEffects.setMaxVertex(12);
|
|
59 |
DistortedEffects.setMaxFragment(9);
|
|
60 | 60 |
|
61 | 61 |
mView = view; |
62 | 62 |
mManager = new AroundTheWorldEffectsManager(); |
... | ... | |
136 | 136 |
|
137 | 137 |
try |
138 | 138 |
{ |
139 |
Distorted.onSurfaceCreated(mView.getContext());
|
|
139 |
Distorted.onCreate(mView.getContext());
|
|
140 | 140 |
} |
141 | 141 |
catch(Exception ex) |
142 | 142 |
{ |
Also available in: Unified diff
New DistortedProgram class.