[android-developers] Re: Depth buffer issue: Advice for anyone experiencing problem

2011-01-16 Thread Andrew Smith
genpfault on StackOverflow.com pointed out that you need to use a value of 65536 with glClearDepthx to get the result you expect from a value of 1. I have confirmed that this is correct. So this is more a case of incorrect documentation, rather than a bug as such. -- You received this message

Re: [android-developers] Re: Depth buffer issue: Advice for anyone experiencing problem

2011-01-16 Thread Kostya Vasilyev
Sounds like the parameter is a 16:16 fixed point number, and that's what the method name suffix is hinting at. It's glClearDepthx, not glClearDepthi for a reason. http://www.opengl.org/registry/specs/OES/OES_fixed_point.txt -- Kostya Vasilyev -- http://kmansoft.wordpress.com 16.01.2011 11:09