Commit Graph

3 Commits

Author SHA1 Message Date
rdb b168fa6a85 tests: fix erroneous test_texture_clear_unsigned_byte test 2018-09-02 21:04:40 +02:00
rdb eb62d7f223 tests: add unit tests for clearing and then peeking texture 2018-09-02 12:00:10 +02:00
rdb 9dcfcbf5fa texture: support store() on more component types (incl. sRGB)
This changes behaviour for sRGB textures, which weren't previously converting to the correct color space.

Also add unit tests for storing to PNMImage.

Closes: #212
2017-12-19 20:02:49 +01:00