added alphatest to state
use alphatest for sdfont

replace shader discard with fixed function alphatest
fixed uninitialized memory bug