소스 검색

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;
 	}