Home | History | Annotate | Download | only in main

Lines Matching refs:emptySlot

303    struct gl_debug_msg *emptySlot;
321 emptySlot = &ctx->Debug.Log[nextEmpty];
323 assert(!emptySlot->message && !emptySlot->length);
325 emptySlot->message = MALLOC(len+1);
326 if (emptySlot->message) {
327 (void) strncpy(emptySlot->message, buf, (size_t)len);
328 emptySlot->message[len] = '\0';
330 emptySlot->length = len+1;
331 emptySlot->source = source;
332 emptySlot->type = type;
333 emptySlot->id = id;
334 emptySlot->severity = severity;
337 emptySlot->message = out_of_memory;
338 emptySlot->length = strlen(out_of_memory)+1;
339 emptySlot->source = GL_DEBUG_SOURCE_OTHER_ARB;
340 emptySlot->type = GL_DEBUG_TYPE_ERROR_ARB;
341 emptySlot->id = OTHER_ERROR_OUT_OF_MEMORY;
342 emptySlot->severity = GL_DEBUG_SEVERITY_HIGH_ARB;