core: remove wcore_platform_teardown
commit0585276439235b25f1d0a4769f327c7ad29c7126
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:52 +0000 (29 16:09 +0100)
treed5e584c4cfb49dd6e7e15828198d2c0dc19b3b66
parente143490fadd24863cfdab42b1ea8c7a3e3b7de00
core: remove wcore_platform_teardown

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.

While here, drop the dummy/unused asserts in the init path

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/waffle/android/droid_platform.c
src/waffle/api/waffle_init.c
src/waffle/cgl/cgl_platform.m
src/waffle/core/wcore_platform.h
src/waffle/egl/wegl_config.c
src/waffle/egl/wegl_context.c
src/waffle/egl/wegl_platform.c
src/waffle/glx/glx_config.c
src/waffle/glx/glx_display.c
src/waffle/glx/glx_platform.c
src/waffle/wgl/wgl_platform.c