Bug 705665 - Don't whine while glDeleting non-existent GL object - r=jgilbert

In OpenGL it is allowed to try to delete a non-existent GL object, and we have code that relies on that in a fairly legitimate way, see discussion in the bug.
This commit is contained in:
Benoit Jacob 2011-12-04 14:15:42 -05:00
parent 329e725402
commit ed0639a053

View File

@ -2574,11 +2574,6 @@ RemoveNamesFromArray(GLContext *aOrigin, GLsizei aCount, GLuint *aNames, nsTArra
break;
}
}
#ifdef DEBUG
if (!found) {
printf_stderr("GL Context %p deleting resource %d, which doesn't exist!\n", aOrigin, name);
}
#endif
}
}