PDA

View Full Version : OpenGL loader and ES/core compatibility questions



myocytebd
08-12-2017, 05:38 AM
1. Spec says GL4.x is compatible with ES3.y.
Does it mean that I can include GL4.x headers to compile ES3.y code?

2. Which GL loader can generate explicit function table?


(what to avoid)
loader_init();
s = glGetString(xxx);
(want to have)
funcs = loader_init();
s = funcs->glGetString(xxx);
Or at least, I would like to have ES3/GL4 stuffs compiled and linked anywhere without ifdef.