From 4b9b6a20d4bc3147c7ab8b755264f3ddda0e0e04 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Wed, 4 May 2011 15:01:16 +0000 Subject: [PATCH] Fix validation (glTexEnvi is fixed pipe only) git-svn-id: http://skia.googlecode.com/svn/trunk@1241 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gpu/src/GrGLInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpu/src/GrGLInterface.cpp b/gpu/src/GrGLInterface.cpp index 319d33f..0825a3f 100644 --- a/gpu/src/GrGLInterface.cpp +++ b/gpu/src/GrGLInterface.cpp @@ -150,6 +150,7 @@ bool GrGLInterface::validateFixedFunctions() const { NULL == fPointSize || NULL == fShadeModel || NULL == fTexCoordPointer || + NULL == fTexEnvi || NULL == fVertexPointer) { return false; } @@ -200,7 +201,6 @@ bool GrGLInterface::validate(GrEngine engine) const { NULL == fStencilFunc || NULL == fStencilMask || NULL == fStencilOp || - NULL == fTexEnvi || NULL == fTexImage2D || NULL == fTexParameteri || NULL == fTexSubImage2D || -- 2.7.4