Commit 8d9478d8 authored by dnicoara@chromium.org's avatar dnicoara@chromium.org

[Ozone] Remove unnecessary cast to EGLNativeDisplayType

https://codereview.chromium.org/184433003/ adds the khronos headers as the first headers to be used by EGL. Since we have Ozone platform typedefs in the khronos headers the cast is not necessary.

TBR=piman@chromium.org
NOTRY=true

Review URL: https://codereview.chromium.org/192823002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255992 0039d316-1c4b-4281-b951-d872f2087c98
parent d3ad38b4
......@@ -142,8 +142,7 @@ bool GLSurfaceEGL::InitializeOneOff() {
LOG(ERROR) << "OZONE failed to initialize hardware";
return false;
}
g_native_display = reinterpret_cast<EGLNativeDisplayType>(
surface_factory->GetNativeDisplay());
g_native_display = surface_factory->GetNativeDisplay();
#else
g_native_display = EGL_DEFAULT_DISPLAY;
#endif
......
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