core: wcore_window_{init,teardown} rework
commit5c4eda8544dd490eec2b9719fd1fc48561d3cf99
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:10:13 +0000 (29 16:10 +0100)
tree89b0db1a07b32511316a8f8a424072e8fbda1240
parent0585276439235b25f1d0a4769f327c7ad29c7126
core: wcore_window_{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_window.m
src/waffle/core/wcore_window.h
src/waffle/egl/wegl_surface.c
src/waffle/glx/glx_window.c
src/waffle/wgl/wgl_window.c