You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enforce(hasARBTextureFilterAnisotropic, "The graphics card does not support ARB_texture_filter_anisotropic");
I do know though that my GPU not only supports OpenGL 4.6 (where anisotropic filtering is core) it also has GL_ARB_texture_filter_anisotropic and GL_EXT_texture_filter_anisotropic.
This project is quite old so if you're not willing to work on it anymore I understand that. If you do, here is what I would suggest:
According to the OpenGL Wiki the correct way to check for a core extensions is to both check for the version which is 4.6 and the presence of the extension which would be GL_ARB_texture_filter_anisotropic. Since GL_EXT_texture_filter_anisotropic is considered to be a ubiquitous extension it would make sense to also check for that - and then use the
corresponding functionality provided by that extension.
The text was updated successfully, but these errors were encountered:
BoyBaykiller
changed the title
Wrong extensions checking
Wrong extension checking
Mar 1, 2022
I was trying to run the precompiled binary contained in
bin_x86_64_windows
. Output:I don't exactly know how
hasARBTextureFilterAnisotropic
is set here:AnotherCraft/ac/client/application.d
Line 107 in daa527a
GL_ARB_texture_filter_anisotropic
andGL_EXT_texture_filter_anisotropic
.This project is quite old so if you're not willing to work on it anymore I understand that. If you do, here is what I would suggest:
According to the OpenGL Wiki the correct way to check for a core extensions is to both check for the version which is 4.6 and the presence of the extension which would be
GL_ARB_texture_filter_anisotropic
. SinceGL_EXT_texture_filter_anisotropic
is considered to be a ubiquitous extension it would make sense to also check for that - and then use thecorresponding functionality provided by that extension.
The text was updated successfully, but these errors were encountered: