1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-15 22:49:48 +00:00

clang-format some more

LLVM shouldn't make me download everything they've ever made in the same
package as clang-format.
This commit is contained in:
AnyOldName3 2023-02-10 00:40:48 +00:00
parent 83b940397e
commit 8ea2e15446

View File

@ -118,8 +118,12 @@ namespace Shader
int mMaxTextureUnits = 0; int mMaxTextureUnits = 0;
int mReservedTextureUnits = 0; int mReservedTextureUnits = 0;
std::unique_ptr<HotReloadManager> mHotReloadManager; std::unique_ptr<HotReloadManager> mHotReloadManager;
struct ReservedTextureUnits { int index = -1; int count = 0; }; struct ReservedTextureUnits
std::array<ReservedTextureUnits, static_cast<int>(Slot::SLOT_COUNT) > mReservedTextureUnitsBySlot = {}; {
int index = -1;
int count = 0;
};
std::array<ReservedTextureUnits, static_cast<int>(Slot::SLOT_COUNT)> mReservedTextureUnitsBySlot = {};
}; };
bool parseForeachDirective(std::string& source, const std::string& templateName, size_t foundPos); bool parseForeachDirective(std::string& source, const std::string& templateName, size_t foundPos);