MOD: Minimal changes for error checking and to conform to the old d3d renderer (for blending)
MOD: Minimal changes for error checking and to conform to the old d3d renderer
(for blending)

cbeck88/cegui-mirror-two,cbeck88/cegui-mirror-two,cbeck88/cegui-mirror-two,cbeck88/cegui-mirror-two,cbeck88/cegui-mirror-two