// Safe because `self` represents a valid VADisplay and render_targets
// and ntargets are properly initialized. Note that render_targets==NULL
// is valid so long as ntargets==0.
// Safe because `self` represents a valid VADisplay and render_targets
// and ntargets are properly initialized. Note that render_targets==NULL
// is valid so long as ntargets==0.