mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Pass strings by const reference where possible
This commit is contained in:
@ -1908,7 +1908,7 @@ namespace GLExtensions
|
||||
_GLVersion = 330; // Get all the fun things
|
||||
}
|
||||
|
||||
static void* GetFuncAddress(std::string name, void **func)
|
||||
static void* GetFuncAddress(const std::string& name, void **func)
|
||||
{
|
||||
*func = GLInterface->GetFuncAddress(name);
|
||||
if (*func == nullptr)
|
||||
|
Reference in New Issue
Block a user