Skip to content

Commit

Permalink
RenderState: Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimensionscape committed Jul 10, 2024
1 parent c745963 commit 4380098
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/starling/rendering/RenderState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,17 @@ class RenderState {

/** @private */ @:allow(starling) private var _modelviewMatrix:Matrix;

private static var CULLING_VALUES:Array<Context3DTriangleFace> = new Array<Context3DTriangleFace>([
private static var CULLING_VALUES:Array<Context3DTriangleFace> = [
Context3DTriangleFace.NONE, Context3DTriangleFace.FRONT,
Context3DTriangleFace.BACK, Context3DTriangleFace.FRONT_AND_BACK
]);
];

private static var COMPARE_VALUES:Array<Context3DCompareMode> = new Array<Context3DCompareMode>([
private static var COMPARE_VALUES:Array<Context3DCompareMode> = [
Context3DCompareMode.ALWAYS, Context3DCompareMode.NEVER,
Context3DCompareMode.LESS, Context3DCompareMode.LESS_EQUAL,
Context3DCompareMode.EQUAL, Context3DCompareMode.GREATER_EQUAL,
Context3DCompareMode.GREATER, Context3DCompareMode.NOT_EQUAL
]);
];

private var _miscOptions:UInt = 0;
private var _clipRect:Rectangle;
Expand Down

0 comments on commit 4380098

Please sign in to comment.