Fix EGL break on Debian X32
Change to QT_POINTER_SIZE instead of Q_PROCESSOR_WORDSIZE. The latter is 8 due to targeting 64-bit, but pointers are 32-bit still in such builds. For the condition in question it is the pointer size that matters. Task-number: QTBUG-56686 Change-Id: I96c203cae91ceb8404606de605c4fdb1a02a9d5f Reviewed-by: Dmitry Shachnev <mitya57@gmail.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
e918605f42
commit
92805a0e9c
|
|
@ -83,7 +83,7 @@ struct QtEglConverter<uint32_t, uintptr_t>
|
|||
{ return v; }
|
||||
};
|
||||
|
||||
#if Q_PROCESSOR_WORDSIZE > 4
|
||||
#if QT_POINTER_SIZE > 4
|
||||
template <>
|
||||
struct QtEglConverter<uintptr_t, uint32_t>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue