check opengl verson implicitly
This commit is contained in:
parent
cc5e5ef354
commit
f28a4802b6
1 changed files with 2 additions and 0 deletions
|
|
@ -29,6 +29,8 @@ int GSGLShaderPrepare(GSGL gl, GLuint* shader, const char* vs, const char* fs) {
|
|||
char* fss;
|
||||
GLint st;
|
||||
|
||||
if(glUseProgram == NULL) return 0;
|
||||
|
||||
if((f = GSFileOpen(gl->engine, vs)) != NULL) {
|
||||
int sz = GSFileSize(f);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue