Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2580)

Unified Diff: src/gpu/gl/GrGLInterface.cpp

Issue 22842008: Add validation check that linewidth func is present (we already call it on ES). (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLInterface.cpp
===================================================================
--- src/gpu/gl/GrGLInterface.cpp (revision 10811)
+++ src/gpu/gl/GrGLInterface.cpp (working copy)
@@ -90,6 +90,7 @@
NULL == fGetString ||
NULL == fGetUniformLocation ||
NULL == fLinkProgram ||
+ NULL == fLineWidth ||
NULL == fPixelStorei ||
NULL == fReadPixels ||
NULL == fScissor ||
@@ -273,8 +274,7 @@
// part of desktop GL, but not ES
if (kDesktop_GrGLBinding == binding &&
- (NULL == fLineWidth ||
- NULL == fGetTexLevelParameteriv ||
+ (NULL == fGetTexLevelParameteriv ||
NULL == fDrawBuffer ||
NULL == fReadBuffer)) {
return false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698