Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int frameBufferWidth = isPortrait ? 480 : 800;
- int frameBufferHeight = isPortrait ? 800 : 480;
- Bitmap frameBuffer = Bitmap.createBitmap(frameBufferWidth, frameBufferHeight, Config.RGB_565);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement