diff options
author | Brian Paul <[email protected]> | 2009-01-12 15:43:54 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-12 15:43:54 -0700 |
commit | 3a5463d158eff483a992c9792d771fb80db9aed0 (patch) | |
tree | 00cbb602a3a4fdb920a945139cc713e815267f3a /src/mesa/drivers/dri/tdfx | |
parent | de35989cdec9807c60b2b4389e5988037ce23d95 (diff) |
i965: fix broken glBitmap + depth test
When we use the do_blit_bitmap() function, it seems the fragment Z is always
1.0. If depth testing is on, that means that bitmap fragments are often
occluded by other rendering. So, the bitmap doesn't appear even if
rasterpos.Z==0.
The fix is to use the intel_texture_bitmap() path when depth testing is on.
Also, fix the incorrect Z coordinate. It needs to be an NDC value in [-1,1].
Diffstat (limited to 'src/mesa/drivers/dri/tdfx')
0 files changed, 0 insertions, 0 deletions