mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 06:13:07 +01:00
Added Metal renderer backend stub.
This commit is contained in:
23
src/renderer_mtl.cpp
Normal file
23
src/renderer_mtl.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright 2011-2015 Branimir Karadzic. All rights reserved.
|
||||
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include "bgfx_p.h"
|
||||
#if BGFX_CONFIG_RENDERER_METAL
|
||||
# include "../../bgfx-ext/src/renderer_mtl.cpp"
|
||||
#else
|
||||
|
||||
namespace bgfx { namespace mtl
|
||||
{
|
||||
RendererContextI* rendererCreate()
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void rendererDestroy()
|
||||
{
|
||||
}
|
||||
} /* namespace mtl */ } // namespace bgfx
|
||||
|
||||
#endif // BGFX_CONFIG_RENDERER_METAL
|
||||
Reference in New Issue
Block a user