• Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    Taken from blender code:

    Code:

    unsigned int col;

    (...)

    glReadPixels(x, y, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &col);

    (...)

    if(ENDIAN_ORDER==B_ENDIAN) SWITCH_INT(col);


    It's not a bug, it's the working way of glReadPixels() by default.
    And now... next project!
  • »16.06.11 - 08:04
    Profile Visit Website