#include "context.h"
#include "enums.h"
#include "hash.h"
-#include "imports.h"
+
#include "queryobj.h"
#include "mtypes.h"
+#include "util/u_memory.h"
/**
return;
}
- if (buf && buf != ctx->Shared->NullBufferObj) {
+ if (buf) {
bool is_64bit = ptype == GL_INT64_ARB ||
ptype == GL_UNSIGNED_INT64_ARB;
if (!_mesa_has_ARB_query_buffer_object(ctx)) {