I have this code that checks if it is supported GL_ARB_sparse_texture:
GLint ExtensionCount = 0;
glGetIntegerv(GL_NUM_EXTENSIONS, &ExtensionCount);
for (GLint i = 0; i < ExtensionCount; ++i)
if (std::string((char const*)glGetStringi(GL_EXTENSIONS, i)) == std::string("GL_ARB_sparse_texture")){
std::cout << "supported" << std::endl;
}
It prints that it is supported. The problem is that my shader says this is not the case:
Exit:

I have a GTX 660Ti with 350.12 drivers on Windows 8.1.
What am I doing wrong?
source
share