Revision 2f1f7570
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/library/effect/FragmentEffect.java | ||
---|---|---|
79 | 79 |
} |
80 | 80 |
|
81 | 81 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
82 |
/** |
|
83 |
* Only for use by the library itself. |
|
84 |
* |
|
85 |
* @y.exclude |
|
86 |
*/ |
|
87 |
public static void onDestroy() |
|
82 |
|
|
83 |
static void destroyStatics() |
|
88 | 84 |
{ |
89 | 85 |
mNumEnabled = 0; |
90 | 86 |
mGLSL = ""; |
Also available in: Unified diff
Properly clean up static varaibles in the Effect classes!