Skip to content

Instantly share code, notes, and snippets.

View domboscb's full-sized avatar

Casey Dombos domboscb

  • PacificTurtleDesigns
  • Los Angeles, CA
View GitHub Profile
@domboscb
domboscb / DrawActionScheduler.cs
Created August 25, 2016 17:56 — forked from renaudbedard/DrawActionScheduler.cs
The load-time GL call scheduler that FEZ 1.12 uses
using System;
using System.Collections.Concurrent;
namespace FezEngine.Tools
{
public static class DrawActionScheduler
{
static readonly ConcurrentQueue<Action> DeferredDrawActions = new ConcurrentQueue<Action>();
public static void Schedule(Action action)