Subversion Repositories gelsvn

Rev

Rev 373 | Rev 555 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 373 Rev 449
Line 1440... Line 1440...
1440
	}
1440
	}
1441
	return result;
1441
	return result;
1442
}
1442
}
1443
 
1443
 
1444
unsigned char*
1444
unsigned char*
-
 
1445
	SOIL_load_HDR_image
-
 
1446
	(
-
 
1447
		const char *filename,
-
 
1448
		int *width, int *height, int *channels,
-
 
1449
		int force_channels
-
 
1450
	)
-
 
1451
{
-
 
1452
	unsigned char *result = stbi_hdr_load_rgbe( filename,
-
 
1453
			width, height, channels, force_channels );
-
 
1454
	if( result == NULL )
-
 
1455
	{
-
 
1456
		result_string_pointer = stbi_failure_reason();
-
 
1457
	} else
-
 
1458
	{
-
 
1459
		result_string_pointer = "Image loaded";
-
 
1460
	}
-
 
1461
	return result;
-
 
1462
}
-
 
1463
 
-
 
1464
unsigned char*
1445
	SOIL_load_image_from_memory
1465
	SOIL_load_image_from_memory
1446
	(
1466
	(
1447
		const unsigned char *const buffer,
1467
		const unsigned char *const buffer,
1448
		int buffer_length,
1468
		int buffer_length,
1449
		int *width, int *height, int *channels,
1469
		int *width, int *height, int *channels,