Index: ui/gl/scoped_binders.cc |
diff --git a/ui/gl/scoped_binders.cc b/ui/gl/scoped_binders.cc |
index bb2b290105622a9823b49b284d6bbd72aa6f36bc..6850504f75e204d4b678cc3d9789ee34377f7566 100644 |
--- a/ui/gl/scoped_binders.cc |
+++ b/ui/gl/scoped_binders.cc |
@@ -47,8 +47,11 @@ ScopedTextureBinder::ScopedTextureBinder(unsigned int target, unsigned int id) |
case GL_TEXTURE_EXTERNAL_OES: |
target_getter = GL_TEXTURE_BINDING_EXTERNAL_OES; |
break; |
+ case GL_TEXTURE_RECTANGLE_ARB: |
+ target_getter = GL_TEXTURE_BINDING_RECTANGLE_ARB; |
+ break; |
default: |
- NOTIMPLEMENTED() << "Target not part of OpenGL ES 2.0 spec."; |
+ NOTIMPLEMENTED() << " Target not part of OpenGL ES 2.0 spec."; |
reveman
2015/10/27 19:31:54
why the space here? also I'm not sure this is accu
Daniele Castagna
2015/10/29 20:09:05
Fixed the string.
The added space is because NOTIM
|
} |
glGetIntegerv(target_getter, &old_id_); |
} |