Crash fix, minor changes
This commit is contained in:
@@ -2,7 +2,7 @@ import hxp.helpers.ProcessHelper;
|
|||||||
import hxp.HXML;
|
import hxp.HXML;
|
||||||
import sys.io.File;
|
import sys.io.File;
|
||||||
|
|
||||||
class Build {
|
class Build extends hxp.Script {
|
||||||
|
|
||||||
public function new () {
|
public function new () {
|
||||||
|
|
||||||
|
|||||||
@@ -53,15 +53,15 @@ namespace lime {
|
|||||||
|
|
||||||
void* DisplayMode::Value () {
|
void* DisplayMode::Value () {
|
||||||
|
|
||||||
if (_mode) {
|
// if (_mode) {
|
||||||
|
|
||||||
_mode->height = height;
|
// _mode->height = height;
|
||||||
_mode->pixelFormat = pixelFormat;
|
// _mode->pixelFormat = pixelFormat;
|
||||||
_mode->refreshRate = refreshRate;
|
// _mode->refreshRate = refreshRate;
|
||||||
_mode->width = width;
|
// _mode->width = width;
|
||||||
return _mode;
|
// return _mode;
|
||||||
|
|
||||||
} else {
|
// } else {
|
||||||
|
|
||||||
if (!init) {
|
if (!init) {
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@ namespace lime {
|
|||||||
alloc_field (displayMode, id_width, alloc_int (width));
|
alloc_field (displayMode, id_width, alloc_int (width));
|
||||||
return displayMode;
|
return displayMode;
|
||||||
|
|
||||||
}
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -255,12 +255,6 @@ class HTML5Application {
|
|||||||
|
|
||||||
nextUpdate = currentUpdate - (currentUpdate % framePeriod) + framePeriod;
|
nextUpdate = currentUpdate - (currentUpdate % framePeriod) + framePeriod;
|
||||||
|
|
||||||
//while (nextUpdate <= currentUpdate) {
|
|
||||||
//
|
|
||||||
//nextUpdate += framePeriod;
|
|
||||||
//
|
|
||||||
//}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
lastUpdate = currentUpdate;
|
lastUpdate = currentUpdate;
|
||||||
|
|||||||
Reference in New Issue
Block a user