|
|
|
Created:
13 years, 5 months ago by robkroeger Modified:
13 years, 5 months ago Reviewers:
CC:
rsc, codebot Visibility:
Public. |
Patch Set 1 #
Total messages: 4
|
robkroeger
|
13 years, 5 months ago (2012年07月31日 12:16:17 UTC) #1 | ||||||||||||||
In MacOS 10.8, the NSBitmapImageRep class appears to cache the specified image data at the time of construction. As a result updates to the backing memimage object do not get pushed to the screen in flushimg. This patch creates the NSBitmapImageRep object over again for each flushimg which would appear to fix the problem.
*** Submitted as http://code.google.com/p/plan9port/source/detail?r=c89c9c245071 *** devdraw: fix for OS X 10.8 (Mountain Lion) In MacOS 10.8, the NSBitmapImageRep class appears to cache the specified image data at the time of construction. As a result updates to the backing memimage object do not get pushed to the screen in flushimg. This patch creates the NSBitmapImageRep object over again for each flushimg which would appear to fix the problem. R=rsc CC=plan9port.codebot http://codereview.appspot.com/6443063 Committer: Russ Cox <rsc@swtch.com>