GLDraw: Support for colored images

git-svn-id: svn://ultimatepp.org/upp/trunk@6458 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-10-21 12:04:56 +00:00
parent 0ae03ab1b2
commit 8d8e958f8d
7 changed files with 141 additions and 60 deletions

View file

@ -64,6 +64,8 @@ void GLProgram::Create(const char *vertex_shader_, const char *fragment_shader_,
Panic("Failed to link");
Clear();
}
Use();
}
void GLProgram::Create(const char *vertex_shader, const char *fragment_shader,