فهرست منبع

Fixed backward compatibility for screen modes (#481)

Maurice Doison 3 سال پیش
والد
کامیت
cf18c6cf86
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      libs/sdl/sdl/Sdl.hx

+ 2 - 0
libs/sdl/sdl/Sdl.hx

@@ -183,6 +183,7 @@ class Sdl {
 		return false;
 	}
 
+	@:hlNative("?sdl", "get_display_modes")
 	static function get_display_modes(displayId : Int) : hl.NativeArray<Dynamic> {
 		return null;
 	}
@@ -198,6 +199,7 @@ class Sdl {
 		return null;
 	}
 
+	@:hlNative("?sdl", "get_displays")
 	static function get_displays() : hl.NativeArray<Dynamic> {
 		return null;
 	}