| Index: cc/resources/scoped_resource.cc
|
| diff --git a/cc/resources/scoped_resource.cc b/cc/resources/scoped_resource.cc
|
| index 525fb735db5a57a1a49dbcc1d7d082fd3a049dfe..f449f0e97753f5e0865bbc98ae5fb38dfa395945 100644
|
| --- a/cc/resources/scoped_resource.cc
|
| +++ b/cc/resources/scoped_resource.cc
|
| @@ -17,13 +17,14 @@ ScopedResource::~ScopedResource() {
|
|
|
| bool ScopedResource::Allocate(gfx::Size size,
|
| GLenum format,
|
| - ResourceProvider::TextureUsageHint hint) {
|
| + ResourceProvider::TextureUsageHint hint,
|
| + ResourceProvider::TextureType texture_type) {
|
| DCHECK(!id());
|
| DCHECK(!size.IsEmpty());
|
|
|
| set_dimensions(size, format);
|
| set_id(resource_provider_->CreateResource(
|
| - size, format, GL_CLAMP_TO_EDGE, hint));
|
| + size, format, GL_CLAMP_TO_EDGE, hint, texture_type));
|
|
|
| #ifndef NDEBUG
|
| allocate_thread_id_ = base::PlatformThread::CurrentId();
|
|
|