2
0
Эх сурвалжийг харах

Fixed backward compatibility for screen modes (#481)

Maurice Doison 3 жил өмнө
parent
commit
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;
 	}