diff --git a/docs/api/build.hx b/docs/api/build.hx index 7a7faf467..ac751e905 100644 --- a/docs/api/build.hx +++ b/docs/api/build.hx @@ -2,7 +2,7 @@ import hxp.helpers.ProcessHelper; import hxp.HXML; import sys.io.File; -class Build { +class Build extends hxp.Script { public function new () { diff --git a/project/src/system/DisplayMode.cpp b/project/src/system/DisplayMode.cpp index 18df0abef..a18cc69a6 100644 --- a/project/src/system/DisplayMode.cpp +++ b/project/src/system/DisplayMode.cpp @@ -53,15 +53,15 @@ namespace lime { void* DisplayMode::Value () { - if (_mode) { + // if (_mode) { - _mode->height = height; - _mode->pixelFormat = pixelFormat; - _mode->refreshRate = refreshRate; - _mode->width = width; - return _mode; + // _mode->height = height; + // _mode->pixelFormat = pixelFormat; + // _mode->refreshRate = refreshRate; + // _mode->width = width; + // return _mode; - } else { + // } else { if (!init) { @@ -80,7 +80,7 @@ namespace lime { alloc_field (displayMode, id_width, alloc_int (width)); return displayMode; - } + // } } diff --git a/src/lime/_internal/backend/html5/HTML5Application.hx b/src/lime/_internal/backend/html5/HTML5Application.hx index 4bf62c678..fc6493a1a 100644 --- a/src/lime/_internal/backend/html5/HTML5Application.hx +++ b/src/lime/_internal/backend/html5/HTML5Application.hx @@ -255,12 +255,6 @@ class HTML5Application { nextUpdate = currentUpdate - (currentUpdate % framePeriod) + framePeriod; - //while (nextUpdate <= currentUpdate) { - // - //nextUpdate += framePeriod; - // - //} - } lastUpdate = currentUpdate;