@@ -93,10 +93,11 @@ RenderingEngine::RenderingEngine(IEventReceiver *receiver)
93
93
params.HighPrecisionFPU = g_settings->getBool (" high_precision_fpu" );
94
94
params.ZBufferBits = 24 ;
95
95
#ifdef __ANDROID__
96
+ // clang-format off
96
97
params.PrivateData = porting::app_global;
97
- params.OGLES2ShaderPath = std::string (
98
- porting::path_user + DIR_DELIM + " media " + DIR_DELIM + " Shaders " +
99
- DIR_DELIM). c_str ();
98
+ params.OGLES2ShaderPath = std::string (porting::path_user + DIR_DELIM + " media " +
99
+ DIR_DELIM + " Shaders " + DIR_DELIM). c_str ();
100
+ // clang-format on
100
101
#endif
101
102
102
103
m_device = createDeviceEx (params);
@@ -233,7 +234,7 @@ bool RenderingEngine::setWindowIcon()
233
234
const HICON hicon = LoadIcon (GetModuleHandle (NULL ),
234
235
MAKEINTRESOURCE (130 ) // The ID of the ICON defined in
235
236
// winresource.rc
236
- );
237
+ );
237
238
238
239
if (hicon) {
239
240
SendMessage (hWnd, WM_SETICON, ICON_BIG, reinterpret_cast <LPARAM>(hicon));
@@ -997,8 +998,14 @@ void RenderingEngine::draw_plain(Camera *camera, bool show_hud, Hud *hud,
997
998
const char *RenderingEngine::getVideoDriverName (irr::video::E_DRIVER_TYPE type)
998
999
{
999
1000
static const char *driver_ids[] = {
1000
- " null" , " software" , " burningsvideo" , " direct3d8" , " direct3d9" ,
1001
- " opengl" , " ogles1" , " ogles2" ,
1001
+ " null" ,
1002
+ " software" ,
1003
+ " burningsvideo" ,
1004
+ " direct3d8" ,
1005
+ " direct3d9" ,
1006
+ " opengl" ,
1007
+ " ogles1" ,
1008
+ " ogles2" ,
1002
1009
};
1003
1010
1004
1011
return driver_ids[type];
@@ -1007,8 +1014,14 @@ const char *RenderingEngine::getVideoDriverName(irr::video::E_DRIVER_TYPE type)
1007
1014
const char *RenderingEngine::getVideoDriverFriendlyName (irr::video::E_DRIVER_TYPE type)
1008
1015
{
1009
1016
static const char *driver_names[] = {
1010
- " NULL Driver" , " Software Renderer" , " Burning's Video" ,
1011
- " Direct3D 8" , " Direct3D 9" , " OpenGL" , " OpenGL ES1" , " OpenGL ES2" ,
1017
+ " NULL Driver" ,
1018
+ " Software Renderer" ,
1019
+ " Burning's Video" ,
1020
+ " Direct3D 8" ,
1021
+ " Direct3D 9" ,
1022
+ " OpenGL" ,
1023
+ " OpenGL ES1" ,
1024
+ " OpenGL ES2" ,
1012
1025
};
1013
1026
1014
1027
return driver_names[type];
0 commit comments