summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pipelineobj.h
diff options
context:
space:
mode:
authorTimothy Arceri <timothy.arceri@collabora.com>2015-12-06 15:30:34 +1100
committerTimothy Arceri <timothy.arceri@collabora.com>2015-12-07 21:41:09 +1100
commitad0262185420db03e8256ef20a0f5b1b1de003d8 (patch)
tree41f1fb2da26517b81ab550a94ff2c95345d46406 /src/mesa/main/pipelineobj.h
parent4dd096d74178e66334089fb0ed01cbf2d6117fac (diff)
downloadexternal_mesa3d-ad0262185420db03e8256ef20a0f5b1b1de003d8.zip
external_mesa3d-ad0262185420db03e8256ef20a0f5b1b1de003d8.tar.gz
external_mesa3d-ad0262185420db03e8256ef20a0f5b1b1de003d8.tar.bz2
mesa: move GL_INVALID_OPERATION error to rendering call
The validation api doesn't trigger this error so just move it to the code called during rendering. Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Cc: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/main/pipelineobj.h')
-rw-r--r--src/mesa/main/pipelineobj.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/pipelineobj.h b/src/mesa/main/pipelineobj.h
index 6dee775..fbcb765 100644
--- a/src/mesa/main/pipelineobj.h
+++ b/src/mesa/main/pipelineobj.h
@@ -67,7 +67,8 @@ _mesa_bind_pipeline(struct gl_context *ctx,
struct gl_pipeline_object *pipe);
extern GLboolean
-_mesa_validate_program_pipeline(struct gl_context * ctx, struct gl_pipeline_object *pipe, GLboolean IsBound);
+_mesa_validate_program_pipeline(struct gl_context * ctx,
+ struct gl_pipeline_object *pipe);
extern void GLAPIENTRY