Formatting

This commit is contained in:
Camilla Berglund 2015-07-30 20:32:32 +02:00
parent 9527c93a1c
commit f8395886d3
2 changed files with 9 additions and 9 deletions

View File

@ -112,10 +112,10 @@ void FillInRGBBitsFromPixelFormat(GLFWvidmode* mode, MirPixelFormat const pf)
case mir_pixel_format_bgr_888:
case mir_pixel_format_rgb_888:
default:
mode->redBits = 8;
mode->greenBits = 8;
mode->blueBits = 8;
break;
mode->redBits = 8;
mode->greenBits = 8;
mode->blueBits = 8;
break;
}
}

View File

@ -707,15 +707,15 @@ char const* getSystemCursorName(int shape)
switch (shape)
{
case GLFW_ARROW_CURSOR:
return mir_arrow_cursor_name;
return mir_arrow_cursor_name;
case GLFW_IBEAM_CURSOR:
return mir_caret_cursor_name;
return mir_caret_cursor_name;
case GLFW_CROSSHAIR_CURSOR:
return mir_crosshair_cursor_name;
return mir_crosshair_cursor_name;
case GLFW_HAND_CURSOR:
return mir_open_hand_cursor_name;
return mir_open_hand_cursor_name;
case GLFW_HRESIZE_CURSOR:
return mir_horizontal_resize_cursor_name;
return mir_horizontal_resize_cursor_name;
case GLFW_VRESIZE_CURSOR:
return mir_vertical_resize_cursor_name;
}