mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-08 02:54:56 -06:00
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:
parent
50ad11855b
commit
e73d5db104
5 changed files with 22 additions and 17 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue