Lines Matching refs:lastError
96 GLenum lastError; member in tcu::null::Context
122 , lastError (GL_NO_ERROR) in Context()
205 const GLenum lastErr = ctx->lastError; in glGetError()
207 ctx->lastError = GL_NO_ERROR; in glGetError()
328 ctx->lastError = GL_INVALID_ENUM; in glGetString()
343 ctx->lastError = GL_INVALID_VALUE; in glGetStringi()
349 ctx->lastError = GL_INVALID_ENUM; in glGetStringi()
491 if (ctx->lastError == GL_NO_ERROR) in glMapBufferRange()
492 ctx->lastError = GL_INVALID_OPERATION; in glMapBufferRange()
515 if (ctx->lastError == GL_NO_ERROR) in glReadPixels()
516 ctx->lastError = GL_INVALID_ENUM; in glReadPixels()
526 if (ctx->lastError == GL_NO_ERROR) in glReadPixels()
527 ctx->lastError = GL_INVALID_ENUM; in glReadPixels()
534 if (ctx->lastError == GL_NO_ERROR) in glReadPixels()
535 ctx->lastError = GL_INVALID_OPERATION; in glReadPixels()