Ver código fonte

fixed mesa support

ncannasse 7 anos atrás
pai
commit
3ce96e2981
1 arquivos alterados com 5 adições e 0 exclusões
  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() {
 	}