YaGL: GLES1: manually scale GL_ALPHA_TEST_REF vale to +-INT_MAX
authorIgor Mitsyanko <i.mitsyanko@samsung.com>
Tue, 15 Jan 2013 13:13:16 +0000 (17:13 +0400)
committerStanislav Vorobiov <s.vorobiov@samsung.com>
Mon, 15 Apr 2013 11:24:19 +0000 (15:24 +0400)
commitde5f272ecb113f1b30fb3f03bfb89c6f135bf715
tree88b76071953a5b8a281ec2bde617c3074cf0916b
parent09fbc88affed94448462449901cff46356700d63
YaGL: GLES1: manually scale GL_ALPHA_TEST_REF vale to +-INT_MAX

When querying GL_ALPHA_TEST_REF value by glGetIntegerv, it suposed to be scaled
to +=INT_MAX. But host driver might not do it, so we do it manually.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
hw/yagl_apis/gles1/yagl_gles1_context.c