Galaxy S9+ showing colours in purple, grey and teal


I’ve just had a bug report from a user with a Galaxy S9+ saying that all the colours in my SDL game are coming out only in “purple, grey or teal”. But, he says he took a screenshot to email to me, and the screenshot comes out with normal colours!

Bit of a weird one this, and I just wondered if anyone had come across anything similar, or had any thoughts?


Could it be this one?

---------- Původní e-mail ----------

Od: SeanOConnor


Předmět: [SDL] Galaxy S9+ showing colours in purple, grey and teal


Thanks, but I don’t think so as reading through that conversation it sounds like they were setting:

SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 6);
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 5);
SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 6);

and that may have been their problem?


Also think you should set

SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 5);
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 6);
SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 5);

Best would be to have a S9+ phone