Update after CEGUI 0.8 changes.
Don't use const when passing integrals.

Also don't pass integrals as references.
Dynamically generate the one pixel texture.

This is needed by the normal mapped shader terrain technique. Better to
dynamically generate it than relying on it being available in the media.