Explorar el Código

mesa: add missing GLcontext param to _mesa_delete_query().

Fixes vtk crash and others.
tags/mesa_7_3_rc1
Brian Paul hace 17 años
padre
commit
382911bdbc
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1
    1
      src/mesa/main/queryobj.c
  2. 1
    1
      src/mesa/main/queryobj.h

+ 1
- 1
src/mesa/main/queryobj.c Ver fichero

@@ -95,7 +95,7 @@ _mesa_wait_query(GLcontext *ctx, struct gl_query_object *q)
* XXX maybe add Delete() method to gl_query_object class and call that instead
*/
void
_mesa_delete_query(struct gl_query_object *q)
_mesa_delete_query(GLcontext *ctx, struct gl_query_object *q)
{
_mesa_free(q);
}

+ 1
- 1
src/mesa/main/queryobj.h Ver fichero

@@ -37,7 +37,7 @@ extern void
_mesa_free_query_data(GLcontext *ctx);

extern void
_mesa_delete_query(struct gl_query_object *q);
_mesa_delete_query(GLcontext *ctx, struct gl_query_object *q);

extern void
_mesa_begin_query(GLcontext *ctx, struct gl_query_object *q);

Cargando…
Cancelar
Guardar