Revision 76f9798b
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/check/CheckRenderer.java | ||
---|---|---|
71 | 71 |
|
72 | 72 |
CheckActivity act = (CheckActivity)mView.getContext(); |
73 | 73 |
|
74 |
Distorted.setMaxVertex(act.getMaxV()); |
|
75 |
Distorted.setMaxFragment(act.getMaxF()); |
|
74 |
DistortedEffects.setMaxVertex(act.getMaxV());
|
|
75 |
DistortedEffects.setMaxFragment(act.getMaxF());
|
|
76 | 76 |
|
77 | 77 |
mScreen = new DistortedFramebuffer(0); |
78 | 78 |
} |
... | ... | |
183 | 183 |
|
184 | 184 |
try |
185 | 185 |
{ |
186 |
Distorted.onSurfaceCreated(mView.getContext());
|
|
186 |
Distorted.onCreate(mView.getContext());
|
|
187 | 187 |
} |
188 | 188 |
catch(Exception ex) |
189 | 189 |
{ |
Also available in: Unified diff
New DistortedProgram class.