Fixed some warnings
This commit is contained in:
parent
2e4baa3596
commit
447741fcdb
3 changed files with 11 additions and 13 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue