/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#include <dali/integration-api/debug.h>
// INTERNAL HEADERS
-#include <native-source-render-surface.h>
+#include <native-render-surface.h>
#include <gl/egl-implementation.h>
namespace Dali
namespace Adaptor
{
-EGLNativeDisplayType DisplayConnection::GetNativeSourceDisplay()
+EGLNativeDisplayType DisplayConnection::GetNativeDisplay()
{
- return (EGLNativeDisplayType)tbm_bufmgr_init( -1 );
+ return reinterpret_cast< EGLNativeDisplayType >( tbm_bufmgr_init( -1 ) );
}
-void DisplayConnection::ReleaseNativeSourceDisplay()
+void DisplayConnection::ReleaseNativeDisplay()
{
if( mDisplay )
{
- tbm_bufmgr_deinit( (tbm_bufmgr)mDisplay );
+ tbm_bufmgr_deinit( reinterpret_cast< tbm_bufmgr >( mDisplay ) );
}
}