Update for State pointer structre; See azul3d/gfx#83