Remove some format rule (#10919)

* remove some rules
* format all codes with new format rule
This commit is contained in:
minggo
2022-05-04 13:09:24 +08:00
committed by GitHub
parent e9a4bdd4dc
commit 271cc5cf23
1148 changed files with 32411 additions and 34416 deletions
@@ -40,7 +40,6 @@
namespace cc {
SystemWindow::SystemWindow(IEventDispatch *delegate)
: _sdl(std::make_unique<SDLHelper>(delegate)) {
}
SystemWindow::~SystemWindow() {
@@ -61,7 +60,7 @@ void SystemWindow::swapWindow() {
bool SystemWindow::createWindow(const char *title,
int w, int h, int flags) {
_sdl->createWindow(title, w, h, flags);
_width = w;
_width = w;
_height = h;
return true;
}
@@ -71,7 +70,7 @@ bool SystemWindow::createWindow(const char *title,
int h, int flags) {
// Create window
_sdl->createWindow(title, x, y, w, h, flags);
_width = w;
_width = w;
_height = h;
return true;
}