mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
Remove some format rule (#10919)
* remove some rules * format all codes with new format rule
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
namespace cc {
|
||||
SystemWindow::SystemWindow(IEventDispatch *delegate)
|
||||
: _sdl(std::make_unique<SDLHelper>(delegate)) {
|
||||
|
||||
}
|
||||
|
||||
SystemWindow::~SystemWindow() {
|
||||
@@ -56,7 +55,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;
|
||||
}
|
||||
@@ -65,7 +64,7 @@ bool SystemWindow::createWindow(const char *title,
|
||||
int x, int y, int w,
|
||||
int h, int flags) {
|
||||
_sdl->createWindow(title, x, y, w, h, flags);
|
||||
_width = w;
|
||||
_width = w;
|
||||
_height = h;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user