Results 199 comments of kas1e

Ok tracked this one down. It turned out that not things as bad: for first, ARB Programs in Irrlicth surely works by default, without any environments like ```setenv LIBGL_ARBPROGARM 1```...

I tried to run 10.shaders Irrlicht example and answer "n" for using shaders, and then output looks like this: ``` Vertex shader compilation failed at position 585: Invalid token Pixel...

Sadly in the versions of 2019 I can't find anything of ```if(glstate->shim_error = GL_NO_ERROR)``` , so to check if replacing ```=``` on ```==``` will also bring the same errors, or...

By the way, I find out that ```setenv LIBGL_NPOT 2```, fixed for me 2D images loading done on Irrlicht so they look "clean" and good, while with default they look...

When I run anything compiled with GL4ES, I have on running at top "Hardware Full NPOT detected and used", but still all NPOT textures in irrlicht looks bad until I...

I ask Daniel about it, he shows me what we have already in extensions : ``` case GL_EXTENSIONS: s= "GL_ARB_arrays_of_arrays GL_ARB_provoking_vertex GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle" " GL_EXT_blend_minmax GL_EXT_frag_depth GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_lod_bias...

Interesting that once i do ```setenv LIBGL_NPOT 2```, then output looks like this: ``` ... LIBGL: Targeting OpenGL 2.1 LIBGL: Expose GL_ARB_texture_non_power_of_two_extension LIBGL: Forcing NPOT support by disabling MIPMAP support...

Yeah, our ogles2 driver always supports NPOT. I may try now to set it to 3, to see what will happens.

So set it to 3, and output now changes, and instead of ```Forcing NPOT support by disabling MIPMAP support for NPOT textures ```, i have now ```LIBGL: NPOT texture handled...

Ah i see, you have code ```if(strstr(Exts, "GL_ARB_texture_non_power_of_two ") || strstr(Exts, "GL_OES_texture_npot ")) hardext.npot = 3;```, so it should firstly check on extensions, and if found it will set it...