Browse Source

Updated gltf2loader to use new memory:: stream.

Mark Sibly 7 years ago
parent
commit
518d0d434d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/mojo3d/loader/gltf2loader.monkey2

+ 1 - 1
modules/mojo3d/loader/gltf2loader.monkey2

@@ -149,7 +149,7 @@ Class Gltf2Loader
 			Local start:=ULong( GetData( source.bufferView ) )
 			Local start:=ULong( GetData( source.bufferView ) )
 			Local length:=source.bufferView.byteLength
 			Local length:=source.bufferView.byteLength
 			
 			
-			Local path:="memblock::("+start+","+length+")"
+			Local path:="memory::("+start+","+length+")"
 			If source.mimeType.StartsWith( "image/" ) path+="."+texture.source.mimeType.Slice( 6 )
 			If source.mimeType.StartsWith( "image/" ) path+="."+texture.source.mimeType.Slice( 6 )
 				
 				
 			tex=Texture.Load( path,flags )
 			tex=Texture.Load( path,flags )