Einar Forselv
Einar Forselv
Seriously considering revamping this one a bit.
This is a problem for macos being limited to GL 4.1. I checked the extensions as well for intel/nv/ati/apple. They usually match up 100% on capabilities and the following extensions...
A quick solution for now is to check the `ctx.version_code` property. https://moderngl.readthedocs.io/en/stable/reference/context.html#moderngl.Context.version_code I'll can add some comments in docs for 5.5 and 5.6.
Also : OS X contexts are simple. If you have OS X Mavericks (version 10.9) from 2013 and the hardware to support 4.1 you will get a 4.1 context. There...
That would definitely the ideal solution It means we have to query for extensions `glGetStringi(GL_EXTENSIONS, k)` / `GL_NUM_EXTENSIONS ` and store a prepared `dict` in the context. Exposing that dict...
Ah right. `ARB_multi_draw_indirect` and `ARB_base_instance` are listed there as extensions. They are then optional and not part of `core`. They get moved to into core 4.2 and 4.3 later.
The good news is that we just started a small project to extract this kind of information: https://github.com/moderngl/opengl-registry
I agree. There should at least be a property to set that raw filter values.
Like mentioned in the PR we should check version code AND extensions. I don't really want to add this before more research is done. We might break things.
Should not be a problem defining them in the example. You can also join the discord server and ask questions there, I'll re-open for now add define the buffers.