Minor Math library cleanup. Inline short Ray functions.
Optimized drawing of color-modified UI quads. UIBatch has new function SetColor() which can be used before drawing with modified color, and which performs the uint-conversion only once. This overrides the element's gradient if any.
Added missing icon for ToolTip element.
Check if GLES2 device supports 24-bit depth texture, or 24/8-bit depth+stencil through extensions.
UI drawing code cleanup.
Hack fix for render-to-texture failing on iOS.
Merge remote-tracking branch 'upstream/master'