summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/occlude.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-02 13:55:50 +0000
committerBrian Paul <[email protected]>2005-09-02 13:55:50 +0000
commit14520eb25ef3fab29285f8d5d2dad372960274a7 (patch)
treeb8963c635614d08a5b41676df0a1f2f61a87a990 /src/mesa/main/occlude.c
parentc799e9ec248c5381ba7c1d806f7c1a4dd85698ad (diff)
comments
Diffstat (limited to 'src/mesa/main/occlude.c')
-rw-r--r--src/mesa/main/occlude.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/occlude.c b/src/mesa/main/occlude.c
index e27ba9d42c4..d93380227e5 100644
--- a/src/mesa/main/occlude.c
+++ b/src/mesa/main/occlude.c
@@ -34,9 +34,8 @@
/**
* Allocate a new query object. This is a fallback routine called via
* ctx->Driver.NewQueryObject().
- * \param target - GL_SAMPLES_PASSED_ARB or GL_TIME_ELAPSED_EXT or 0.
* \param ctx - rendering context
- * \param id - the object's ID
+ * \param id - the new object's ID
* \return pointer to new query_object object or NULL if out of memory.
*/
struct gl_query_object *
@@ -56,6 +55,7 @@ _mesa_new_query_object(GLcontext *ctx, GLuint id)
/**
* Delete an occlusion query object.
* Not removed from hash table here.
+ * XXX maybe add Delete() method to gl_query_object class and call that instead
*/
static void
delete_query_object(struct gl_query_object *q)