check opengl verson implicitly

This commit is contained in:
Nishi 2026-01-12 06:48:56 +09:00
commit f28a4802b6
Signed by: nishi
GPG key ID: 27EF69B208EB9343

View file

@ -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);