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.
This commit is contained in:
Ryan Houdek
2014-03-17 18:17:12 -05:00
parent 8f0fa997cb
commit 484fb46390
7 changed files with 12 additions and 27 deletions

View File

@ -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());
}