How to resize viewport on android
Is there a way to set the viewport to fit the resolution of video texture from device's camera?
I try using 'ResizeFrame' to set the viewport, but I find this function only receive sizeX and sizeY parameters, the version that take position is deprecated, I want to set the position and size just like glViewport in OpenGL to keep my background texture not to be stretched on the mobile devices.
asked Dec 06 '18 at 01:27 PM in Rendering
Follow this question
Once you sign in you will be able to subscribe for any updates here