From e8ff30accc0d2755a7bc8c1c6fd5a2e8d4d29a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 22 Nov 2018 16:03:06 -0800 Subject: [PATCH] Revert "Small stylistic change" This reverts commit 0b746ec0d8b5be6cc1dc4c9a36b62e4e0721efcc. --- src/glcontext_glx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/glcontext_glx.cpp b/src/glcontext_glx.cpp index 245e8d8fb..b968267e9 100644 --- a/src/glcontext_glx.cpp +++ b/src/glcontext_glx.cpp @@ -61,8 +61,8 @@ namespace bgfx { namespace gl { BX_UNUSED(_width, _height); - m_context = static_cast(g_platformData.context); - m_display = static_cast<::Display*>(g_platformData.ndt); + m_context = (GLXContext)g_platformData.context; + m_display = (::Display*)g_platformData.ndt; // It's possible the user has provided the window handle, but not // the display handle. If this is the case, try opening the default