/* * Copyright (C) 2018 Tomasz Kramkowski * SPDX-License-Identifier: MIT */ #ifndef GLPROG_H #define GLPROG_H #include "gldefs.h" struct unidat { const char *name; GLint *loc; }; struct shdrdat { GLuint type; const char *src; GLint len; }; GLuint glprog_load(int nshdrs, const struct shdrdat *shdrs, int nunis, const struct unidat *unis); #endif // SHADER_H