On 16 October 2017 at 14:12, Eric Engestrom <eric.engest...@imgtec.com> wrote:

>> +               if (draw->buffers[b])
>> +                  draw->buffers[b]->realloc_suboptimal = true;
>> +            }
>>              break;
>>           case XCB_PRESENT_COMPLETE_MODE_COPY:
>>              draw->flipping = false;
>>              break;
>> +#if XCB_PRESENT_MAJOR_VERSION > 1 || (XCB_PRESENT_MAJOR_VERSION == 1 && 
>> XCB_PRESENT_MINOR_VERSION >= 1)
>
> shouldn't that be a be a runtime check?
>
Eric, the idea is that we'll swap these with a version bump, once
people are happy with the interfaces.

Any form of build/runtime version check is going to end badly.
Emil
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to