Updated rigged mesh face batch/pool handling.
Fixed issue with fullbright and glow occlusion.
RenderTransparentWater toggling should work more gracefully.
Fixed some bugs in general drawpool classification for faces. Bump pool was superceding more than it should have.
Comment out unused shader.
A little bit of cleanup.
Tweaks to stencil handling to allow masking out of sky (or geometry).
Reset stencil clear value to 0 after done clearing.
Added adaptive vsync support (selectable in preferences->graphics->hardware, provided the driver supports it). Also hide 16x fsaa on amd hardware, as it is not supported on said hardware (unsure about intel).
Merge branch 'master' of git://github.com/Shyotl/SingularityViewer
Fix build with SDL prior to 1.3.0
Fix compilation with gcc
Fix compilation with gcc
Compile fix
Removed duplicate check introduced in the last change