diff options
author | Michel Dänzer <[email protected]> | 2009-04-18 15:47:14 +0200 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2009-04-18 15:47:14 +0200 |
commit | 54fb6f0053dc153b76a2e6a242bac376c6723279 (patch) | |
tree | a1b8d57e50bf25028e741ce90ecb2a78ca7ac3cf /src/mesa/drivers/dri/intel | |
parent | 538a82388293ca1b14e6eb8b26179d1f42627210 (diff) |
intel: Handle ARB_vertex_buffer_object state in intel_clear_tris().
Fixes gearsvbo app by Michael Clark.
Diffstat (limited to 'src/mesa/drivers/dri/intel')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_clear.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_clear.c b/src/mesa/drivers/dri/intel/intel_clear.c index 8c431cf1899..6c609336a25 100644 --- a/src/mesa/drivers/dri/intel/intel_clear.c +++ b/src/mesa/drivers/dri/intel/intel_clear.c @@ -148,6 +148,11 @@ intel_clear_tris(GLcontext *ctx, GLbitfield mask) } } +#if FEATURE_ARB_vertex_buffer_object + _mesa_BindBufferARB(GL_ARRAY_BUFFER_ARB, 0); + _mesa_BindBufferARB(GL_ELEMENT_ARRAY_BUFFER_ARB, 0); +#endif + intel_meta_set_passthrough_transform(intel); for (i = 0; i < 4; i++) { |