瀏覽代碼

fixed mesa support

ncannasse 7 年之前
父節點
當前提交
3ce96e2981
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      libs/mesa/haxe/System.hx

+ 5 - 0
libs/mesa/haxe/System.hx

@@ -4,6 +4,7 @@ class System {
 
 	public static var width = 800;
 	public static var height = 600;
+	public static var vsync = true;
 
 	public static var buffer : haxe.io.Bytes = null;
 	public static var ctx : mesa.Context;
@@ -32,6 +33,10 @@ class System {
 			throw "Failed to init GL API";
 		return true;
 	}
+	
+	public static function emitEvents(_) {
+		return true;
+	}
 
 	public static function present() {
 	}