Implemented scalars for floats in OpenGL 1 and GLES graphics systems.