i965: Trivial formatting changes in brw_draw.c
[mesa.git] / src / mesa / drivers / dri / radeon / radeon_queryobj.h
index 9ed61e237ed1d105aabaef247041c4ba96e86384..a2e7724da14925c3af1f7e65345eff55686e504e 100644 (file)
@@ -26,7 +26,7 @@
  */
 
 #include "main/imports.h"
-#include "main/simple_list.h"
+#include "util/simple_list.h"
 #include "radeon_common_context.h"
 
 extern void radeonEmitQueryBegin(struct gl_context *ctx);
@@ -42,7 +42,7 @@ void radeon_emit_queryobj(struct gl_context *ctx, struct radeon_state_atom *atom
 static inline void radeon_init_query_stateobj(radeonContextPtr radeon, int SZ)
 {
        radeon->query.queryobj.cmd_size = (SZ);
-       radeon->query.queryobj.cmd = (uint32_t*) calloc(SZ, sizeof(uint32_t));
+       radeon->query.queryobj.cmd = calloc(SZ, sizeof(uint32_t));
        radeon->query.queryobj.name = "queryobj";
        radeon->query.queryobj.idx = 0;
        radeon->query.queryobj.check = radeon_check_query_active;