[graphics] Rewrite of texture system (#1212)

* loading cleanup

* temp

* add texture replacement

* fix windows

* oops

* fix windows

* final cleanup
This commit is contained in:
water111
2022-03-02 20:01:37 -05:00
committed by GitHub
parent 3a54a521e3
commit a5b383c78a
49 changed files with 1141 additions and 1137 deletions
+2
View File
@@ -164,9 +164,11 @@ void BVH::serialize(Serializer& ser) {
void Texture::serialize(Serializer& ser) {
ser.from_ptr(&w);
ser.from_ptr(&h);
ser.from_ptr(&combo_id);
ser.from_pod_vector(&data);
ser.from_str(&debug_name);
ser.from_str(&debug_tpage_name);
ser.from_ptr(&load_to_pool);
}
void Level::serialize(Serializer& ser) {