Closed major-mayer closed 2 years ago
Yes, you are right. I have fixed the getter for this, thanks.
Glad that I could help to find this issue. Apart from that, your library seems to be doing a fantastic job :)
Thank you!
Out of curiosity, on what kind of project are you trying it?
I am using it to port a CNC machine simulation library to Webassembly that also renders meshes. This library uses old OpenGL 1.5 which Emscripten only supports very limited, so i tried using Gl4es as translation layer between OpenGL ES2 and OpenGL 1.5.
Unfortunately, this project is not open source, so I cannot link it here. But if I find bugs or got suggestions for other improvements, I will post it here.
Good. thank you for the informations :)
it's always nice to see our stuffs actualy used!
I just stumbled across this issue while trying to call this function
glGetFloatv(GL_POINT_SIZE_RANGE, pointSizeRange);
.GL_POINT_SIZE_RANGE
doesn't exist in OpenGL ES, but the way it's mapped is also wrong:getter.c line 890
Those constants values don't exist in OpenGL ES according to this page: https://docs.gl/es2/glGet
As a workaround I now query for
GL_ALIASED_POINT_SIZE_RANGE
:At least it doesn't create an error anymore and i guess it does somwhat the same