core: wcore_context_{init,teardown} rework
commitef74698eecc627727690f59c45380d71d2c9e17c
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:08:45 +0000 (29 16:08 +0100)
tree30ae4bdd613d629e832aa22a86c8c9b6dfabc41a
parentb502125750eb20fcd8a51efe6b22f8774e49173c
core: wcore_context_{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_context.m
src/waffle/core/wcore_context.h
src/waffle/egl/wegl_context.c
src/waffle/glx/glx_context.c
src/waffle/wgl/wgl_context.c