displays -- remove more test code

This commit is contained in:
Lars A. Doucet
2015-07-30 15:51:00 -05:00
parent 433f981e87
commit 2e61c9619b

View File

@@ -76,6 +76,7 @@ class Display {
/**The current display mode**/
public var mode(default, null):DisplayMode;
/**All of the display modes supported by this device**/
public var modes(default, null):Array<DisplayMode>;
private function new(id:Int) {
@@ -122,28 +123,7 @@ class Display {
return 0;
}
// Native Methods (stubs)
#if (cpp || neko || nodejs)
/*
private static var lime_display_get_num_devices = function():Int {
return 1;
};
private static var lime_display_get_name = function(i:Int) {
return "fake";
};
private static var lime_display_get_num_display_modes = function(i:Int) {
return 1;
};
private static var lime_display_get_display_mode = function(display:Int, mode:Int):DisplayMode {
return new DisplayMode(1024, 768, 60, 0);
};
private static var lime_display_get_current_display_mode = function(display:Int):DisplayMode {
return new DisplayMode(1024, 768, 60, 0);
};
*/
#end
// Native Methods
#if (cpp || neko || nodejs)