89+bool mir_surface_spec_set_buffering_mode(MirSurfaceSpec* spec, MirBufferingMode mode) 90+{ 91+ spec->buffering_mode = mode; 92+ return true; 93+}
Possibly worth validating the buffering mode at this point and returning false if it is nonsense?
« Back to merge proposal
89+bool mir_surface_ spec_set_ buffering_ mode(MirSurface Spec* spec, MirBufferingMode mode) _mode = mode;
90+{
91+ spec->buffering
92+ return true;
93+}
Possibly worth validating the buffering mode at this point and returning false if it is nonsense?