mitsuba-renderer / nanogui

Minimalistic C++/Python GUI library for OpenGL, GLES2/3, Metal, and WebAssembly/WebGL
Other
1.52k stars 189 forks source link

opengl.h: fixed gl3ext header #146

Open kallaballa opened 1 year ago

kallaballa commented 1 year ago

When NANOGUI_GLES_VERSION is set to 3 gl3ext.h should be included, not gl2ext.h. This PR fixes the inclusion.

kallaballa commented 1 year ago

Also: GL_TEXTURE_2D_MULTISAMPLE is not available in ES.