Problem with Scale graphics android

first of all greeting!!

well , I have a issue with graphics in android, when I display a SDL_Texture on some device it look very different in size, I think is because these device has different resolution or different pixel density but I don’t really know how to deal with that and I tried to find some documentation on the web but I can’t get it, maybe here I could have some luck, please give an advice, thank you in advance.

I tried to use

  • SDL_RenderSetLogicalSize
  • SDL_RenderSetScale
    if is posible a sample of it would be perfect.

I can only advise you to use pure OpenGL API & SDL DPI. like i did

thank you for you response, could you provide a sample on how to do it?