GLDraw: Fixed binding issue with RX580

git-svn-id: svn://ultimatepp.org/upp/trunk@12650 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-01-07 19:20:35 +00:00
parent 50ad11855b
commit e73d5db104
5 changed files with 22 additions and 17 deletions

View file

@ -4,7 +4,7 @@ namespace Upp {
GLCode::GLCode(const char *vertex_shader, const char *pixel_shader)
{
Create(vertex_shader, pixel_shader);
Compile(vertex_shader, pixel_shader);
Vector<Tuple2<int, const char *>> ins;
CParser p(vertex_shader);
int ii = 0;
@ -36,6 +36,7 @@ GLCode::GLCode(const char *vertex_shader, const char *pixel_shader)
}
else
p.SkipTerm();
Link();
}
GLCode& GLCode::Uniform(int i, double a)