ok
This commit is contained in:
parent
d7f1c66779
commit
23f3401b59
2 changed files with 2 additions and 1 deletions
|
|
@ -481,7 +481,7 @@ static void scan_widget(xl_node_t* node) {
|
||||||
|
|
||||||
OFS = std::ofstream("src/widget/" + lowercase(name) + ".cc");
|
OFS = std::ofstream("src/widget/" + lowercase(name) + ".cc");
|
||||||
|
|
||||||
if(name == "OpenGL" || name == "Vulkan") OFS << "#define MW_" + uppercase(name) + "_NO_INCLUDE" << std::endl;
|
if(name == "OpenGL" || name == "Vulkan" || name == "Direct3D9") OFS << "#define MW_" + uppercase(name) + "_NO_INCLUDE" << std::endl;
|
||||||
|
|
||||||
OFS << "#include <MwCXX/Widget/" + name + ".h>" << std::endl;
|
OFS << "#include <MwCXX/Widget/" + name + ".h>" << std::endl;
|
||||||
OFS << std::endl;
|
OFS << std::endl;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
#define MW_DIRECT3D9_NO_INCLUDE
|
||||||
#include <MwCXX/Widget/Direct3D9.h>
|
#include <MwCXX/Widget/Direct3D9.h>
|
||||||
|
|
||||||
MwCXX::Direct3D9::Direct3D9(MwWidget widget, MwCXX::Base* parent)
|
MwCXX::Direct3D9::Direct3D9(MwWidget widget, MwCXX::Base* parent)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue