mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 05:57:51 +00:00
Fix samples on null backend (add swapchain impl)
BUG= Change-Id: I96e6c58b4ec46af58f7c0a97c88308075efe68dd Reviewed-on: https://dawn-review.googlesource.com/c/3700 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
9dc1250d3e
commit
17be9deed6
@@ -16,10 +16,12 @@
|
||||
#define DAWNNATIVE_NULLBACKEND_H_
|
||||
|
||||
#include <dawn/dawn.h>
|
||||
#include <dawn/dawn_wsi.h>
|
||||
#include <dawn_native/dawn_native_export.h>
|
||||
|
||||
namespace dawn_native { namespace null {
|
||||
DAWN_NATIVE_EXPORT dawnDevice CreateDevice();
|
||||
DAWN_NATIVE_EXPORT dawnSwapChainImplementation CreateNativeSwapChainImpl();
|
||||
}} // namespace dawn_native::null
|
||||
|
||||
#endif // DAWNNATIVE_NULLBACKEND_H_
|
||||
|
||||
Reference in New Issue
Block a user