]> Pileus Git - grits/commit
Add split depth buffer for world/overlay
authorAndy Spencer <andy753421@gmail.com>
Sun, 20 Jan 2013 04:22:38 +0000 (04:22 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sun, 20 Jan 2013 04:28:17 +0000 (04:28 +0000)
commitb702b739df3d3dd601b0661c8349810f1fa0e46f
tree4c38e3341d025d97b4ea37b90883069d37dc4bc2
parent8941c8e6e06588d43732645e6af3feb959f1eb41
Add split depth buffer for world/overlay

The top 1 percent gets used for the overlay/hud layers, while the back
99 percent gets used for the world. This allows the HUD to use depth
testing without interacting with the world.

This fixes a bug in the compass rose.
src/grits-opengl.c
src/plugins/env.c