optimize dx11 engine
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#include <cwchar>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
#if defined(BASALT_OS_WINDOWS)
|
||||
#define BSCHAR wchar_t
|
||||
@@ -8,3 +10,10 @@
|
||||
#define BSCHAR char
|
||||
#define BSTEXT(x) x
|
||||
#endif
|
||||
|
||||
namespace Basalt::Shared::Char {
|
||||
|
||||
using BSString = std::basic_string<BSCHAR>;
|
||||
using BSStringView = std::basic_string_view<BSCHAR>;
|
||||
|
||||
}; // namespace Basalt::Shared::Char
|
||||
|
||||
Reference in New Issue
Block a user