[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 because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


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 пользователь Andrew Smith meeja...@gmail.com написал:

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en