void Gradient::DiscardTexHandle() { if (texHandle) { texHandle->DeleteThis(); texHandle = NULL; } }
void DiscardTexHandle() { if (texHandle) { texHandle->DeleteThis(); texHandle = NULL; } }