16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-20 06:49:19 +02:00
This commit is contained in:
milek7
2018-06-25 01:15:37 +02:00
parent 0c5f990528
commit 694aac6065
13 changed files with 131 additions and 114 deletions

View File

@@ -99,7 +99,7 @@ gl::program::~program()
glDeleteProgram(*this);
}
void gl::program::bind()
void gl::program::bind(GLuint i)
{
glUseProgram(*this);
glUseProgram(i);
}