Index: ui/gl/gl_image_stub.cc |
diff --git a/ui/gl/gl_image_stub.cc b/ui/gl/gl_image_stub.cc |
index 1c8e469745f984a75206d220c4e691b6b925dec0..6549e890faf9189da86f235c38f8ccb69b229626 100644 |
--- a/ui/gl/gl_image_stub.cc |
+++ b/ui/gl/gl_image_stub.cc |
@@ -4,6 +4,8 @@ |
#include "ui/gl/gl_image_stub.h" |
+#include <GL/gl.h> |
+ |
namespace gfx { |
GLImageStub::GLImageStub() {} |
@@ -12,6 +14,8 @@ GLImageStub::~GLImageStub() {} |
gfx::Size GLImageStub::GetSize() { return gfx::Size(1, 1); } |
+unsigned GLImageStub::GetInternalFormat() { return GL_RGBA; } |
+ |
bool GLImageStub::BindTexImage(unsigned target) { return true; } |
bool GLImageStub::CopyTexImage(unsigned target) { return true; } |