Skip to content
Closed
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 starling/src/starling/filters/FragmentFilter.as
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ package starling.filters
mIndexData = new <uint>[0, 1, 2, 1, 3, 2];
mIndexData.fixed = true;

createPrograms();
if (Starling.current.contextValid) createPrograms();

// Handle lost context. By using the conventional event, we can make it weak; this
// avoids memory leaks when people forget to call "dispose" on the filter.
Expand Down