Galaxy S9+ showing colours in purple, grey and teal


#1

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?


#2

Could it be this one?

https://bugzilla.libsdl.org/show_bug.cgi?id=2291

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

Od: SeanOConnor noreply@discourse.libsdl.org

Komu: hardcoredaniel@seznam.cz

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


#3

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?


#4

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