aboutsummaryrefslogtreecommitdiffstats
path: root/glprog.h
Commit message (Collapse)AuthorAgeFilesLines
* Improve glprog_load to take sentinel terminated listsTomasz Kramkowski2018-05-021-1/+1
| | | | | | Numerous times a new uniform has been added and the corresponding increment of the nunis parameter was forgotten causing confusion. This should not happen anymore.
* Simplify gl loading by removing m4 and merging gldefs.hTomasz Kramkowski2018-03-301-1/+1
| | | | | | | | | | | m4 has been removed, loadgl.c.in is now gl.c, gldefs.h and loadgl.h.in have now been merged into gl.h. loadgl.m4 has been transformed into glfunc.h which is being used in the way of a bie index file to generate information at 3 places. lgl_load is now gl_load and doesn't return anything, the jongjmp.h method of error handling was pre-emptive and for now this much simpler system will suffice. This means that lgl_strerror is no longer neede.
* glprog: Wrap OpenGL program object loadingTomasz Kramkowski2018-03-271-0/+23
glprog provides a simple interface to loadign OpenGL program objects and getting their uniform locations.