Skip to content
Snippets Groups Projects
Commit d88e0277 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Small cleanup

parent c0eeb158
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
......@@ -75,11 +75,12 @@ void ms_sleep(U32 ms)
std::this_thread::sleep_for(std::chrono::milliseconds(ms));
}
void micro_sleep(U64 us, U32 max_yields)
U32 micro_sleep(U64 us, U32 max_yields)
{
// max_yields is unused; just fiddle with it to avoid warnings.
max_yields = 0;
std::this_thread::sleep_for(std::chrono::microseconds(us));
return 0;
}
#elif LL_WINDOWS
......
......@@ -311,7 +311,7 @@ class LLGLSLShader
LLShaderFeatures mFeatures;
std::vector< std::pair< std::string, GLenum > > mShaderFiles;
std::string mName;
typedef std::map<std::string, std::string> defines_map_t;
typedef std::map<std::string, std::string> defines_map_t; //NOTE: this must be an ordered map to maintain hash consistency
defines_map_t mDefines;
static defines_map_t sGlobalDefines;
LLUUID mShaderHash;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment