浏览代码

changed lib name

Nicolas Cannasse 8 年之前
父节点
当前提交
254c29b35e
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      libs/sdl/openal/AL.hx
  2. 1 1
      libs/sdl/openal/ALC.hx

+ 2 - 2
libs/sdl/openal/AL.hx

@@ -3,7 +3,7 @@ package openal;
 abstract Buffer(Int) to Int {}
 abstract Source(Int) to Int {}
 
-@:hlNative("openal","al_")
+@:hlNative("sdl","al_")
 extern class AL {
 	public static function dopplerFactor   (value : hl.F32) : Void;
 	public static function dopplerVelocity (value : hl.F32) : Void;
@@ -34,7 +34,7 @@ extern class AL {
 	public static function isExtensionPresent (extname : hl.Bytes) : Bool;
 	public static function getEnumValue       (ename   : hl.Bytes) : Int;
 	//public static function getProcAddress     (fname   : hl.Bytes) : Void*;
-	
+
 	// Set Listener parameters
 	public static function listenerf  (param : Int, value  : hl.F32) : Void;
 	public static function listener3f (param : Int, value1 : hl.F32, value2 : hl.F32, value3 : hl.F32) : Void;

+ 1 - 1
libs/sdl/openal/ALC.hx

@@ -3,7 +3,7 @@ package openal;
 typedef Device  = hl.Abstract<"alc_device">;
 typedef Context = hl.Abstract<"alc_context">;
 
-@:hlNative("openal","alc_")
+@:hlNative("sdl","alc_")
 extern class ALC {
 	// Context management
 	public static function createContext      (device  : Device, attrlist : hl.Bytes) : Context;