Remove fractional output PR artifact

This commit is contained in:
emersion 2017-12-15 17:14:30 +01:00
parent a6704fd16d
commit 80b0b327de
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -256,10 +256,6 @@ void wlr_output_set_scale(struct wlr_output *output, float scale) {
wl_signal_emit(&output->events.scale, output); wl_signal_emit(&output->events.scale, output);
} }
uint32_t wlr_output_integral_scale(struct wlr_output *output) {
return ceil(output->scale);
}
void wlr_output_init(struct wlr_output *output, struct wlr_backend *backend, void wlr_output_init(struct wlr_output *output, struct wlr_backend *backend,
const struct wlr_output_impl *impl) { const struct wlr_output_impl *impl) {
assert(impl->make_current && impl->swap_buffers && impl->transform); assert(impl->make_current && impl->swap_buffers && impl->transform);