mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 00:56:19 +00:00
Changed: #825 Remove all warning when compiling Ryzom
This commit is contained in:
parent
22d206b1db
commit
5469274e14
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