mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 20:28:32 +09:00
[Optimization] (EGL_impl.cpp): don't copy the whole unordered_map
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user