From a89094aa3bc059c6e03b20b4c5b1ede4582f3da9 Mon Sep 17 00:00:00 2001 From: Alex Sakhartchouk Date: Wed, 4 May 2011 17:45:36 -0700 Subject: Code Cleanup and better Sampler creation method Change-Id: I9e35081ee6034cb619f43a47f8f22f38977f5d12 --- libs/rs/rsProgramVertex.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libs/rs/rsProgramVertex.cpp') diff --git a/libs/rs/rsProgramVertex.cpp b/libs/rs/rsProgramVertex.cpp index dfd732f39def..b8b3c0b36e71 100644 --- a/libs/rs/rsProgramVertex.cpp +++ b/libs/rs/rsProgramVertex.cpp @@ -37,8 +37,6 @@ void ProgramVertex::setupGL2(Context *rsc, ProgramVertexState *state) { return; } - rsc->checkError("ProgramVertex::setupGL2 start"); - if (!isUserProgram()) { if (mHal.state.constants[0].get() == NULL) { rsc->setError(RS_ERROR_FATAL_UNKNOWN, @@ -59,8 +57,6 @@ void ProgramVertex::setupGL2(Context *rsc, ProgramVertexState *state) { state->mLast.set(this); rsc->mHal.funcs.vertex.setActive(rsc, this); - - rsc->checkError("ProgramVertex::setupGL2"); } void ProgramVertex::setProjectionMatrix(Context *rsc, const rsc_Matrix *m) const { -- cgit v1.2.3-59-g8ed1b