final RenderContext context = ContextManager.getCurrentContext();
final CullStateRecord record = (CullStateRecord) context.getStateRecord(StateType.Cull);
context.setCurrentState(StateType.Cull, state);
if (state.isEnabled()) {
final Face useCullMode = state.getCullFace();
switch (useCullMode) {
case Front:
setCull(GL.GL_FRONT, state, record);
setCullEnabled(true, state, record);