PDA

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



kubisztal
10-09-2017, 05:53 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.

kubisztal
11-08-2017, 03:56 AM
still looking for solution