summaryrefslogtreecommitdiffstats
path: root/jvmfwk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-03-09 19:45:41 +0200
committerTor Lillqvist <tml@collabora.com>2016-03-09 19:48:25 +0200
commit2823f7bd4898ab9ebc7ea2937b9db235dc52ae84 (patch)
tree583e9707e1caf11c8fd86f19cac0ec2b4a989c01 /jvmfwk
parentUpdated core (diff)
downloadcore-2823f7bd4898ab9ebc7ea2937b9db235dc52ae84.tar.gz
core-2823f7bd4898ab9ebc7ea2937b9db235dc52ae84.zip
Make the new D2D Graphite rendering work also in the OpenGL case
It used to render just black boxes. The change in DrawTextImpl() semantics from 61085083e4a5060ba7e2135818264d63c6da13c2 was not properly implemented in the new Graphite code. The return value is not some kind of "success" indicator, but tells the caller whether to continue the loop at that level. We do need to call FillRect() to fill the requested rectangle of the HDC with white. On the other hand, the call to Clear() is not needed and in fact makes no text show up. (I now see that that same code snippet that calls FillRect() is used in all the DrawTextImpl() implementations, so it should be factored out to the call site in WinLayout::DrawText().) Change-Id: If0533ea1edf065b06ae888c6e57c026f447bcf78
Diffstat (limited to 'jvmfwk')
0 files changed, 0 insertions, 0 deletions