devdraw: restore compilation on OS X 10.6
Also add some ignored files to .hgignore R=rsc http://codereview.appspot.com/6842089
This commit is contained in:
parent
9ca6e21f3d
commit
7b9ef735a8
3 changed files with 10 additions and 0 deletions
|
|
@ -1408,9 +1408,11 @@ winsizepoints()
|
|||
static NSSize
|
||||
winsizepixels()
|
||||
{
|
||||
#if DOSX_VERSION >= 100700
|
||||
if (OSX_VERSION >= 100700 && devdrawretina)
|
||||
return [win.content convertSizeToBacking: winsizepoints()];
|
||||
else
|
||||
#endif
|
||||
return winsizepoints();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue