Browse Source

Revert "Small stylistic change"

This reverts commit 0b746ec0d8b5be6cc1dc4c9a36b62e4e0721efcc.
Branimir Karadžić 7 years ago
parent
commit
e8ff30accc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/glcontext_glx.cpp

+ 2 - 2
src/glcontext_glx.cpp

@@ -61,8 +61,8 @@ namespace bgfx { namespace gl
 	{
 		BX_UNUSED(_width, _height);
 
-		m_context = static_cast<GLXContext>(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