Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/away3d/cameras/lenses/PerspectiveLens.as
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package away3d.cameras.lenses
*
* @param fieldOfView The vertical field of view of the projection.
*/
public function PerspectiveLens(fieldOfView:Number = 60, coordinateSystem:uint = CoordinateSystem.LEFT_HANDED)
public function PerspectiveLens(fieldOfView:Number = 60, coordinateSystem:uint = 0)
{
super();

Expand Down
4 changes: 2 additions & 2 deletions src/away3d/core/managers/Stage3DProxy.as
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ package away3d.core.managers
_antiAlias = antiAlias;

if (_context3D)
_context3D.configureBackBuffer(backBufferWidth, backBufferHeight, antiAlias, _backBufferEnableDepthAndStencil);
_context3D.configureBackBuffer(backBufferWidth, backBufferHeight, antiAlias, _backBufferEnableDepthAndStencil, true, true);
}

/*
Expand Down Expand Up @@ -526,7 +526,7 @@ package away3d.core.managers
// which they may not have been if View3D.render() has yet to be
// invoked for the first time.
if (_backBufferWidth && _backBufferHeight)
_context3D.configureBackBuffer(_backBufferWidth, _backBufferHeight, _antiAlias, _backBufferEnableDepthAndStencil);
_context3D.configureBackBuffer(_backBufferWidth, _backBufferHeight, _antiAlias, _backBufferEnableDepthAndStencil, true, true);

// Dispatch the appropriate event depending on whether context was
// created for the first time or recreated after a device loss.
Expand Down