Explorar o código

fixed haxe SVN issue

ncannasse %!s(int64=12) %!d(string=hai) anos
pai
achega
5a89144c48
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      h3d/impl/MemoryManager.hx

+ 3 - 3
h3d/impl/MemoryManager.hx

@@ -301,7 +301,7 @@ class MemoryManager {
 		return newTexture(compress ? AtfCompressed(alpha) : Atf, width, height, cubic, false, mipLevels, allocPos);
 	}
 	
-	public function allocTexture( width : Int, height : Int, mipMap = false, ?allocPos : AllocPos ) {
+	public function allocTexture( width : Int, height : Int, ?mipMap = false, ?allocPos : AllocPos ) {
 		freeTextures();
 		var levels = 0;
 		if( mipMap ) {
@@ -316,7 +316,7 @@ class MemoryManager {
 		return newTexture(Rgba, width, height, false, true, 0, allocPos);
 	}
 
-	public function makeTexture( ?bmp : flash.display.BitmapData, ?mbmp : h3d.mat.Bitmap, hasMipMap = false, ?allocPos : AllocPos ) {
+	public function makeTexture( ?bmp : flash.display.BitmapData, ?mbmp : h3d.mat.Bitmap, ?hasMipMap = false, ?allocPos : AllocPos ) {
 		var t;
 		if( bmp != null ) {
 			t = allocTexture(bmp.width, bmp.height, hasMipMap, allocPos);
@@ -329,7 +329,7 @@ class MemoryManager {
 		return t;
 	}
 
-	public function allocCubeTexture( size : Int, mipMap = false, ?allocPos : AllocPos ) {
+	public function allocCubeTexture( size : Int, ?mipMap = false, ?allocPos : AllocPos ) {
 		freeTextures();
 		var levels = 0;
 		if( mipMap ) {