diff options
author | zmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-09 08:02:42 +0000 |
---|---|---|
committer | zmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-09 08:02:42 +0000 |
commit | 737191ee7839286e6531db2564482d8b4762a631 (patch) | |
tree | a18ad72509fde5d3827ec0091469dee75df494e9 /gpu/command_buffer/service/test_helper.h | |
parent | ddf629f26492b7067e34c502645f0e445856bae9 (diff) | |
download | chromium_src-737191ee7839286e6531db2564482d8b4762a631.zip chromium_src-737191ee7839286e6531db2564482d8b4762a631.tar.gz chromium_src-737191ee7839286e6531db2564482d8b4762a631.tar.bz2 |
WebGL TexParameterf and GetTexParameterf needs to handle float param correctly
Right now the param is always cast to int.
BUG=348810
TEST=ToT webgl conformance conformance/extensions/ext-texture-filter-anisotropic.html
R=kbr@chromium.org,bajones@chromium.org
Review URL: https://codereview.chromium.org/189133004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255836 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/test_helper.h')
-rw-r--r-- | gpu/command_buffer/service/test_helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/test_helper.h b/gpu/command_buffer/service/test_helper.h index 99041e7..b16f05f 100644 --- a/gpu/command_buffer/service/test_helper.h +++ b/gpu/command_buffer/service/test_helper.h @@ -98,7 +98,7 @@ class TestHelper { BufferManager* manager, Buffer* buffer, GLsizeiptr size, GLenum usage, const GLvoid* data, GLenum error); - static void SetTexParameterWithExpectations( + static void SetTexParameteriWithExpectations( ::gfx::MockGLInterface* gl, MockErrorState* error_state, TextureManager* manager, TextureRef* texture_ref, GLenum pname, GLint value, GLenum error); |