|
@@ -308,9 +308,8 @@ public class HDRLoader implements AssetLoader {
|
|
|
}
|
|
|
in.close();
|
|
|
|
|
|
- dataStore.rewind();
|
|
|
- //TODO, HDR color space? considered linear here
|
|
|
- return new Image(pixelFormat, width, height, dataStore, ColorSpace.Linear);
|
|
|
+ dataStore.rewind();
|
|
|
+ return new Image(pixelFormat, width, height, dataStore, ColorSpace.sRGB);
|
|
|
}
|
|
|
|
|
|
public Object load(AssetInfo info) throws IOException {
|