This reverts commit dd428cc4a1 because it rewrites the buffer size whilst surface allocation flags are stored when allocator_params_init() is called since fab890ce. Fix: #239
dd428cc4a1
fab890ce