Small stylistic change

This commit is contained in:
TheComet
2018-11-22 23:54:38 +01:00
parent 749bd14db4
commit 0b746ec0d8

View File

@@ -61,8 +61,8 @@ namespace bgfx { namespace gl
{
BX_UNUSED(_width, _height);
m_context = (GLXContext)g_platformData.context;
m_display = (::Display*)g_platformData.ndt;
m_context = static_cast<GLXContext>(g_platformData.context);
m_display = static_cast<::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