Fixed some warnings

This commit is contained in:
Robert 2021-01-24 17:05:28 +01:00
parent 2e4baa3596
commit 447741fcdb
3 changed files with 11 additions and 13 deletions

View file

@ -28,6 +28,7 @@ namespace oglu
std::shared_ptr<AbstractVertexArray> MakeVertexArray(const char* filepath)
{
// This sucks
std::ifstream file(filepath);
if (!file.good())
{
@ -102,7 +103,7 @@ namespace oglu
glBindVertexArray(0);
count = indicesSize / sizeof(GLuint);
count = (GLsizei)(indicesSize / sizeof(GLuint));
}
void AbstractVertexArray::Bind()