Searched refs:emptySlot (Results 1 – 1 of 1) sorted by relevance
303 struct gl_debug_msg *emptySlot; in _mesa_log_msg() local321 emptySlot = &ctx->Debug.Log[nextEmpty]; in _mesa_log_msg()323 assert(!emptySlot->message && !emptySlot->length); in _mesa_log_msg()325 emptySlot->message = MALLOC(len+1); in _mesa_log_msg()326 if (emptySlot->message) { in _mesa_log_msg()327 (void) strncpy(emptySlot->message, buf, (size_t)len); in _mesa_log_msg()328 emptySlot->message[len] = '\0'; in _mesa_log_msg()330 emptySlot->length = len+1; in _mesa_log_msg()331 emptySlot->source = source; in _mesa_log_msg()332 emptySlot->type = type; in _mesa_log_msg()[all …]