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

@ -33,7 +33,7 @@ void cInterfaceWGL::Swap()
SwapBuffers(hDC);
}
void* cInterfaceWGL::GetFuncAddress(std::string name)
void* cInterfaceWGL::GetFuncAddress(const std::string& name)
{
void* func = (void*)wglGetProcAddress((LPCSTR)name.c_str());
if (func == nullptr)