summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/queryobj.c
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2014-06-10 13:28:38 +0200
committerIago Toral Quiroga <[email protected]>2014-06-30 08:08:50 +0200
commitecd9960430a52cfea624cd836d68ee2c39738410 (patch)
treeb58233436430f2f158b528571ebdd3ec32cbe3bf /src/mesa/main/queryobj.c
parent0e58a3ef2a6dd029e730c7d0dd14e29a5210b3c9 (diff)
mesa: Include stream information in indexed queries.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/queryobj.c')
-rw-r--r--src/mesa/main/queryobj.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/queryobj.c b/src/mesa/main/queryobj.c
index 86e7c3ad0a1..512f45ab93a 100644
--- a/src/mesa/main/queryobj.c
+++ b/src/mesa/main/queryobj.c
@@ -367,6 +367,7 @@ _mesa_BeginQueryIndexed(GLenum target, GLuint index, GLuint id)
q->Result = 0;
q->Ready = GL_FALSE;
q->EverBound = GL_TRUE;
+ q->Stream = index;
/* XXX should probably refcount query objects */
*bindpt = q;