diff options
Diffstat (limited to 'cc/test/test_web_graphics_context_3d.h')
-rw-r--r-- | cc/test/test_web_graphics_context_3d.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h index 03ddf3f..f497ac4 100644 --- a/cc/test/test_web_graphics_context_3d.h +++ b/cc/test/test_web_graphics_context_3d.h @@ -347,6 +347,9 @@ class TestWebGraphicsContext3D { void set_support_texture_rectangle(bool support) { test_capabilities_.gpu.texture_rectangle = support; } + void set_support_texture_half_float_linear(bool support) { + test_capabilities_.gpu.texture_half_float_linear = support; + } // When this context is lost, all contexts in its share group are also lost. void add_share_group_context(TestWebGraphicsContext3D* context3d) { |