summaryrefslogtreecommitdiffstats
path: root/cc/test
diff options
context:
space:
mode:
Diffstat (limited to 'cc/test')
-rw-r--r--cc/test/test_web_graphics_context_3d.h3
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 a7d5e0b..e33c07a 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -304,6 +304,9 @@ class TestWebGraphicsContext3D {
void set_support_compressed_texture_etc1(bool support) {
test_capabilities_.gpu.texture_format_etc1 = support;
}
+ void set_support_texture_format_bgra8888(bool support) {
+ test_capabilities_.gpu.texture_format_bgra8888 = support;
+ }
void set_support_texture_storage(bool support) {
test_capabilities_.gpu.texture_storage = support;
}