dawn_native: Fixup namespace from backend:: to dawn_native::

This commit is contained in:
Corentin Wallez
2018-07-24 16:45:45 +02:00
committed by Corentin Wallez
parent 30965a7729
commit 49a65d0c0c
232 changed files with 474 additions and 474 deletions

View File

@@ -25,9 +25,9 @@
#include <cstdio>
#include "GLFW/glfw3.h"
namespace backend { namespace opengl {
namespace dawn_native { namespace opengl {
void Init(void* (*getProc)(const char*), dawnProcTable* procs, dawnDevice* device);
}} // namespace backend::opengl
}} // namespace dawn_native::opengl
namespace utils {
class SwapChainImplGL {
@@ -113,8 +113,8 @@ namespace utils {
}
void GetProcAndDevice(dawnProcTable* procs, dawnDevice* device) override {
glfwMakeContextCurrent(mWindow);
backend::opengl::Init(reinterpret_cast<void* (*)(const char*)>(glfwGetProcAddress),
procs, device);
dawn_native::opengl::Init(reinterpret_cast<void* (*)(const char*)>(glfwGetProcAddress),
procs, device);
mBackendDevice = *device;
}