mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
Remove some format rule (#10919)
* remove some rules * format all codes with new format rule
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user