summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/GLInterface/GLX.cpp
diff options
context:
space:
mode:
authorRyan Houdek <ryan.houdek@codethink.co.uk>2014-03-17 18:17:12 -0500
committerRyan Houdek <ryan.houdek@codethink.co.uk>2014-03-17 18:17:12 -0500
commit484fb46390bcdffcf9509f8d6c784f5b7bce0167 (patch)
tree2f61ed927eebfbda01ebdaa39b904a37d28a31ff /Source/Core/DolphinWX/GLInterface/GLX.cpp
parent8f0fa997cb4d704b531feba8b39f89f83f6faa0d (diff)
Clang 3.4 exposes some warnings on Android.
Fixes all warnings on Android build except for what is in externals. Removes a function from TextureDecoder_Generic since it is unused and generates a warning.
Diffstat (limited to 'Source/Core/DolphinWX/GLInterface/GLX.cpp')
-rw-r--r--Source/Core/DolphinWX/GLInterface/GLX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/GLInterface/GLX.cpp b/Source/Core/DolphinWX/GLInterface/GLX.cpp
index d48ff9086e..0994320e6b 100644
--- a/Source/Core/DolphinWX/GLInterface/GLX.cpp
+++ b/Source/Core/DolphinWX/GLInterface/GLX.cpp
@@ -27,7 +27,7 @@ void cInterfaceGLX::SwapInterval(int Interval)
else
ERROR_LOG(VIDEO, "No support for SwapInterval (framerate clamped to monitor refresh rate).");
}
-void* cInterfaceGLX::GetFuncAddress(std::string name)
+void* cInterfaceGLX::GetFuncAddress(const std::string& name)
{
return (void*)glXGetProcAddress((const GLubyte*)name.c_str());
}