[Optimization] (EGL_impl.cpp): don't copy the whole unordered_map

This commit is contained in:
2025-06-18 16:21:07 +08:00
parent 6bc28c2ae9
commit 3d2596f701
@@ -93,7 +93,7 @@ namespace MG_Diligent {
GLFramebufferInfo& fbInfo) {
uint64_t hash = 0;
MG_Global::unordered_map<GLenum, bool> capabilities = commonState.capabilities;
auto& capabilities = commonState.capabilities;
hash ^= std::hash<uint32_t>()(commonState.blendSrcRGB);
hash ^= std::hash<uint32_t>()(commonState.blendDstRGB);