core: wcore_display_{init,teardown} rework
commite143490fadd24863cfdab42b1ea8c7a3e3b7de00
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 29 Sep 2023 14:24:20 +0000 (29 15:24 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 29 Sep 2023 15:09:23 +0000 (29 16:09 +0100)
treef47e6d8271ee6ed757a7d567a0e9d1caffba9892
parentef74698eecc627727690f59c45380d71d2c9e17c
core: wcore_display_{init,teardown} rework

Drop the return type of the former - it always returns true, drop the
irrelevant asserts and remove the dummy teardown function.

This allows us to cleanup the call paths and error handling across the
tree.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/waffle/cgl/cgl_display.m
src/waffle/core/wcore_display.c
src/waffle/core/wcore_display.h
src/waffle/core/wcore_window.h
src/waffle/egl/wegl_display.c
src/waffle/glx/glx_display.c
src/waffle/wgl/wgl_display.c