|
@@ -57,7 +57,7 @@ class DirShadowMap extends Shadows {
|
|
override function dispose() {
|
|
override function dispose() {
|
|
super.dispose();
|
|
super.dispose();
|
|
if( customDepth && depth != null ) depth.dispose();
|
|
if( customDepth && depth != null ) depth.dispose();
|
|
- border.dispose();
|
|
|
|
|
|
+ if ( border != null ) border.dispose();
|
|
}
|
|
}
|
|
|
|
|
|
public override function getShadowTex() {
|
|
public override function getShadowTex() {
|