summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorOmprakash Dhyade <odhyade@codeaurora.org>2010-08-05 16:28:37 -0700
committerNaomi Luis <nluis@codeaurora.org>2010-08-10 16:49:48 -0700
commitad1c5cf963e85d2efe7b34c07e076dbf6b6ab7d0 (patch)
tree1bc1ee0a3014cd885b8316011ecf84a55d793a77 /opengl/tests/gl_basic/gl_basic.cpp
parent3af76d897849e4e73f967647b0e3c11cf88e9ca5 (diff)
frameworks/base: Swap width and height of temporary buffer only with
orientation change Current code swaps the width and height by assuming that aspect ratio of the buffer width and height will be same as that of the layout clip width and height. That is not always true. Change the check to orientation change. Change-Id: Ie387f3a7369025427484e4173cbde7a08df2b9d7
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions