Fix some warnings

pull/3/head
Hleb Valoshka 2019-08-27 23:24:14 +03:00
parent 05faeee8a4
commit 11897032d4
2 changed files with 3 additions and 1 deletions

View File

@ -1876,7 +1876,7 @@ bool SetDCPixelFormat(HDC hDC)
PFD_SUPPORT_OPENGL | // Support OpenGL calls in window
PFD_DOUBLEBUFFER, // Double buffered mode
PFD_TYPE_RGBA, // RGBA Color mode
GetDeviceCaps(hDC, BITSPIXEL),// Want the display bit depth
(BYTE)GetDeviceCaps(hDC, BITSPIXEL),// Want the display bit depth
0,0,0,0,0,0, // Not used to select mode
0,0, // Not used to select mode
0,0,0,0,0, // Not used to select mode

View File

@ -1031,6 +1031,8 @@ generateTangents(Mesh& mesh,
}
}
break;
default:
break;
}
}