Hello, I'm trying to load .dds texture(font) using OpenGL. But I faced problem with this function:
glCompressedTexImage2D(GL_TEXTURE_2D, level, format, width, height, 0, size, buffer + offset);
This code works fine on windows, but here I have a 1280 ( glGetLastError() )error and I have a black square instead of text. Could some one, please, help me ? Or maybe there are other ways to load custom font viz OpneGL ? Thank you!