Changed: #825 Remove all warning when compiling Ryzom

This commit is contained in:
kervala 2010-08-01 10:45:50 +02:00
parent a4b9d678ed
commit 7e45b27f35
2 changed files with 2 additions and 2 deletions

View file

@ -405,7 +405,7 @@ void CDriverGLStates::stencilFunc(GLenum func, GLint ref, GLuint mask)
#endif #endif
{ {
// new state // new state
_CurStencilFunc = stencilFunc; _CurStencilFunc = func;
_CurStencilRef = ref; _CurStencilRef = ref;
_CurStencilMask = mask; _CurStencilMask = mask;

View file

@ -260,7 +260,7 @@ void CAsyncFileManager::CMultipleFileLoad::run (void)
//fseek (f, 0, SEEK_SET); //fseek (f, 0, SEEK_SET);
ptr = new uint8[filesize]; ptr = new uint8[filesize];
if (fread (ptr, filesize, 1, f) != 1) if (fread (ptr, filesize, 1, f) != 1)
nlwarning("AFM: Couldn't read '%s'", _FileName[i].c_str()); nlwarning("AFM: Couldn't read '%s'", _FileNames[i].c_str());
fclose (f); fclose (f);
*_Ptrs[i] = ptr; *_Ptrs[i] = ptr;