diff options
Diffstat (limited to 'cc/software_renderer_unittest.cc')
-rw-r--r-- | cc/software_renderer_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/software_renderer_unittest.cc b/cc/software_renderer_unittest.cc index d77ad7f..5160963 100644 --- a/cc/software_renderer_unittest.cc +++ b/cc/software_renderer_unittest.cc @@ -112,8 +112,8 @@ TEST_F(CCRendererSoftwareTest, tileQuad) setViewportSize(outerSize); initializeRenderer(); - CCResourceProvider::ResourceId resourceYellow = resourceProvider()->createResource(1, outerSize, GraphicsContext3D::RGBA, CCResourceProvider::TextureUsageAny); - CCResourceProvider::ResourceId resourceCyan = resourceProvider()->createResource(1, innerSize, GraphicsContext3D::RGBA, CCResourceProvider::TextureUsageAny); + CCResourceProvider::ResourceId resourceYellow = resourceProvider()->createResource(1, outerSize, GL_RGBA, CCResourceProvider::TextureUsageAny); + CCResourceProvider::ResourceId resourceCyan = resourceProvider()->createResource(1, innerSize, GL_RGBA, CCResourceProvider::TextureUsageAny); SkColor yellow = SK_ColorYELLOW; SkColor cyan = SK_ColorCYAN; |