aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/src/GrGLInterface.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-08-03 14:22:30 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-08-03 14:22:30 +0000
commitc49d66b04e0014f6b3be8346e4e4906d6807eb2d (patch)
tree62456e3613da930e828b9ac1e86aa8948a70c4f8 /gpu/src/GrGLInterface.cpp
parentd32c5f564e4aa9ada2650e07d3856d5b21cd2138 (diff)
Add glReadBuffer to GrGLInterface.
Review URL: http://codereview.appspot.com/4841048/ git-svn-id: http://skia.googlecode.com/svn/trunk@2034 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/src/GrGLInterface.cpp')
-rw-r--r--gpu/src/GrGLInterface.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpu/src/GrGLInterface.cpp b/gpu/src/GrGLInterface.cpp
index 9822dcbec4..2a8ffaaeb4 100644
--- a/gpu/src/GrGLInterface.cpp
+++ b/gpu/src/GrGLInterface.cpp
@@ -313,7 +313,8 @@ bool GrGLInterface::validate(GrEngine engine) const {
if (kDesktop_GrGLBinding == fBindingsExported &&
(NULL == fLineWidth ||
NULL == fGetTexLevelParameteriv ||
- NULL == fDrawBuffer)) {
+ NULL == fDrawBuffer ||
+ NULL == fReadBuffer)) {
return false;
}