Skip to content

Commit 2d24df3

Browse files
committed
Removed a useless variable and improved formatting on a comment
1 parent d699fde commit 2d24df3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/flx3d/_internal/TextureView3D.hx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ class TextureView3D extends View3D
2020
public var bitmap:BitmapData;
2121

2222
private var _framebuffer:TextureBase = null;
23-
private var _initialised:Bool = false;
2423

2524
public var onUpdateBitmap:(BitmapData) -> Void;
2625

26+
/**
27+
* Prevents the enging from disposing Flixel's Stage3D/Context3D instance
28+
*/
2729
public override function dispose() @:privateAccess {
28-
// prevents the game from disposing flixel's stage3D/context3D
2930
_stage3DProxy = null;
3031
super.dispose();
3132
}
@@ -54,7 +55,6 @@ class TextureView3D extends View3D
5455
super(scene, camera, renderer, forceSoftware, profile, contextIndex);
5556

5657
_stage3DProxy = Stage3DManager.getInstance(FlxG.stage).getStage3DProxy(0);
57-
_initialised = true;
5858
_createFramebuffer();
5959
}
6060

0 commit comments

Comments
 (0)