Skip to content
Commit df11acd4 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

x11: Cast Window to EGLNativeWindowType using a C cast

reinterpret_cast<>() will fail if the types we cast from and to have
mismatching sizes.

Unfortunately, there are platforms that have Window and
EGLNativeWindowType of different size. This results in compilation
errors.

In order to work around those problematic platforms, this change
replaces reinterpret_cast cast with a c style cast.
parent 51925567
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment