Commit 62b11a47 by Maksim Sisov Committed by Commit Bot

X11: cast native display type to XDisplay.

This is required to have use_x11 && use_ozone builds at the same time. Bug: chromium:1085700 Change-Id: I3d4cdf590e1ecf79af9e2d4bd585955c3f1b7af6 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2315031Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
parent 3b0c9918
......@@ -23,7 +23,7 @@ bool X11Pixmap::initialize(EGLNativeDisplayType display,
size_t height,
int nativeVisual)
{
mDisplay = display;
mDisplay = reinterpret_cast<Display *>(display);
int screen = DefaultScreen(mDisplay);
Window root = RootWindow(mDisplay, screen);
......
Markdown is supported
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