In the Wiki, the SDL found the description:
SDL_GL_RED_SIZE - for the red channel of the color buffer; defaults to 3
I did not understand what this parameter affects. Yes, and what is this color buffer (color buffer)?
There are three more attributes: SDL_GL_BLUE_SIZE , SDL_GL_GREEN , SDL_GL_ALPHA .
I can only assume that this is RGBA and these attributes affect the number of displayed colors. I hope more competent programmers will enlighten me on this.