diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2012-05-18 12:47:18 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2012-05-23 12:14:40 -0700 |
commit | f772c46700a1b9d7ba594ebb461daf469bc92892 (patch) | |
tree | c7596284fda6f16b2d84157e435b3c85af91b2ae | |
parent | 921fc921ed88c9e762d37711c66256faaca978fb (diff) | |
download | waffle-f772c46700a1b9d7ba594ebb461daf469bc92892.tar.gz |
api: Remove workaround in waffle_window_show
There is no longer any need to check if waffle_window_show is implemented
by the current platform, because all platforms now implement it.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
-rw-r--r-- | src/waffle/api/waffle_window.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/waffle/api/waffle_window.c b/src/waffle/api/waffle_window.c index b6d9fbd..fe9c8d8 100644 --- a/src/waffle/api/waffle_window.c +++ b/src/waffle/api/waffle_window.c @@ -90,12 +90,6 @@ waffle_window_show(struct waffle_window *self) if (!api_check_entry(obj_list, 1)) return false; - if (api_current_platform->dispatch->window_show == NULL) { - // The platform does not yet implement waffle_window_show(). - // Succeed without warning. - return true; - } - return api_current_platform->dispatch-> window_show(self->native); } |