Fix TextureTestUtil::toRGBA(Masked) behavior with infinities.
authorJarkko Pöyry <jpoyry@google.com>
Mon, 2 Mar 2015 21:51:30 +0000 (13:51 -0800)
committerJarkko Pöyry <jpoyry@google.com>
Mon, 9 Mar 2015 23:40:33 +0000 (16:40 -0700)
commit27b5856bb11af6bd900f11aeaf00d723a96783a5
treea510e8eb8f3111af167a556e8ea226b6a6d0bc86
parent1459a4523cf1c06ef7d413adf2ba9a8bc8a98d9a
Fix TextureTestUtil::toRGBA(Masked) behavior with infinities.

- toRGBA(Masked) incorrectly returned 0 for infinity. This change makes
  the functions return 255 as expected.

Change-Id: I7d013d0abb9c395fc5e74b000fec2ae8db32f0d2
modules/glshared/glsTextureTestUtil.hpp