Crash fix, minor changes
This commit is contained in:
@@ -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 () {
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -255,12 +255,6 @@ class HTML5Application {
|
||||
|
||||
nextUpdate = currentUpdate - (currentUpdate % framePeriod) + framePeriod;
|
||||
|
||||
//while (nextUpdate <= currentUpdate) {
|
||||
//
|
||||
//nextUpdate += framePeriod;
|
||||
//
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
lastUpdate = currentUpdate;
|
||||
|
||||
Reference in New Issue
Block a user