mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
GL: Use pipeline cache
This commit is contained in:
parent
145f411324
commit
2a7c65c019
8 changed files with 115 additions and 249 deletions
|
|
@ -38,9 +38,11 @@ void GLProgram::Create(const u32 vp, const u32 fp)
|
|||
Delete();
|
||||
|
||||
id = glCreateProgram();
|
||||
|
||||
GLuint res = glGetError();
|
||||
glAttachShader(id, vp);
|
||||
res = glGetError();
|
||||
glAttachShader(id, fp);
|
||||
res = glGetError();
|
||||
|
||||
glLinkProgram(id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue