mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-27 02:50:53 +00:00
Changed: #825 Remove all warning when compiling Ryzom
This commit is contained in:
parent
6a6272ec8c
commit
4a833c6d13
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue