SDL Android opengl rendering issues |
SDL Android opengl rendering issues |
Alex Szpakowski
Guest
|
Try adding these lines just before creating the window and context:
SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 5); SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 6); SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 5); (or 8, 8, 8, rather than 5, 6, 5.) If that works, it sounds like you could be encountering this bug: https://bugzilla.libsdl.org/show_bug.cgi?id=2291
|
|||||||||||||
|
SDL Android opengl rendering issues |
Owen Alanzo Hogarth
Guest
|
@Alex
Using 565 worked like a charm, I guess it is that bug. I have a international galaxy s3. Is there any way to detect this from within code? Is it safe just to always use 565? What if I deploy an app, is this safe? On Sun, Aug 23, 2015 at 8:33 PM, Alex Szpakowski wrote:
|
|||||||||||||||
|