Blurry display in Retina MacBooks

2013-01-24
2013-01-24
  • Hello,

    The display is blurry on the Retina MacBooks.

    The following diffs fix the issue:
    <snip>
    chicken-2.2b2.original/Source/FrameBufferDrawing.h 2011-11-19
    10:35:41.000000000 -0800
    --- chicken-2.2b2/Source/FrameBufferDrawing.h 2013-01-15
    11:01:00.000000000 -0800
    *** printf("draw x=%f y=%f w=%f h=%f at x=%f
    441,451 ****

    #ifdef PINFO
    drawRectCount++;
    drawPixelCount += aRect.size.width * aRect.size.height;
    #endif
    !
    r = aRect;
    if(NSMaxX(r) >= size.width) {
    r.size.width = size.width - r.origin.x;
    }
    if(NSMaxY(r) >= size.height) {
    --- 441,452 ----

    #ifdef PINFO
    drawRectCount++;
    drawPixelCount += aRect.size.width * aRect.size.height;
    #endif
    ! CGContextSetInterpolationQuality([[NSGraphicsContext
    currentContext]
    graphicsPort], kCGInterpolationNone);

      r = aRect;
      if(NSMaxX(r) >= size.width) {
          r.size.width = size.width - r.origin.x;
      }
      if(NSMaxY(r) >= size.height) {
    

    </snip>

    Thanks,
    Stavros