[PATCH 06/20] glamor: Add infrastructure for generating shaders on the fly

Keith Packard keithp at keithp.com
Thu Mar 20 14:37:08 PDT 2014


Eric Anholt <eric at anholt.net> writes:


> This comment is stale now that center_offset exists.

I've moved and re-worded it:

    /*
     * To get GL_POINTS drawn in the right spot, we need to adjust the
     * coordinates by 1/2 a pixel.
     */
    if (center_offset)
        center_adjust = 0.5f;

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140320/8bba4c52/attachment.sig>


More information about the xorg-devel mailing list