diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-05 12:09:40 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-05 12:09:40 -0500 |
commit | 7e3f48153aacf5ef440797eceb748badb729cc6d (patch) | |
tree | 1588c83cf751f90c4c92ace9b70ebabde01cb89f /gl.c | |
parent | cefdff9a6a449506ddaeae56a2e038a1a2106846 (diff) |
switch to getting all gl procs manually
Diffstat (limited to 'gl.c')
-rw-r--r-- | gl.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -2,6 +2,20 @@ // macro trickery to avoid having to write everything twice #define gl_for_each_proc(do)\ + do(DRAWARRAYS, DrawArrays)\ + do(GENTEXTURES, GenTextures)\ + do(DELETETEXTURES, DeleteTextures)\ + do(TEXIMAGE2D, TexImage2D)\ + do(BINDTEXTURE, BindTexture)\ + do(TEXPARAMETERI, TexParameteri)\ + do(GETERROR, GetError)\ + do(GETINTEGERV, GetIntegerv)\ + do(ENABLE, Enable)\ + do(DISABLE, Disable)\ + do(BLENDFUNC, BlendFunc)\ + do(VIEWPORT, Viewport)\ + do(CLEARCOLOR, ClearColor)\ + do(CLEAR, Clear)\ do(CREATESHADER, CreateShader)\ do(DELETESHADER, DeleteShader)\ do(CREATEPROGRAM, CreateProgram)\ |