Index: ui/gl/gl_image_memory.cc |
diff --git a/ui/gl/gl_image_memory.cc b/ui/gl/gl_image_memory.cc |
index 56301dfab6c953acc677b27ea74f2259efcb79d7..fc5c61a8331ce4788b4eec1a023906a01b7cb056 100644 |
--- a/ui/gl/gl_image_memory.cc |
+++ b/ui/gl/gl_image_memory.cc |
@@ -238,6 +238,10 @@ Size GLImageMemory::GetSize() { |
return size_; |
} |
+unsigned GLImageMemory::GetInternalFormat() { |
+ return internalformat_; |
+} |
+ |
bool GLImageMemory::BindTexImage(unsigned target) { |
if (target_ && target_ != target) { |
LOG(ERROR) << "GLImage can only be bound to one target"; |