Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaise Tine committed Mar 13, 2022
1 parent 0664cf9 commit 25eadcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion include/cgltrace.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ class CGLTrace {
viewport_t viewport;
};

uint32_t version;
std::vector<drawcall_t> drawcalls;
std::unordered_map<uint32_t, texture_t> textures;

Expand Down
3 changes: 2 additions & 1 deletion src/cgltrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,14 @@ void serialize(Archive & ar, CGLTrace::drawcall_t & drawcall, const unsigned int

template <class Archive>
void serialize(Archive & ar, CGLTrace & trace, const unsigned int) {
ar & make_nvp("version", trace.version);
ar & make_nvp("drawcalls", trace.drawcalls);
ar & make_nvp("textures", trace.textures);
}

}}

BOOST_CLASS_VERSION(CGLTrace, 1)

int CGLTrace::load(const char* filename) {
std::ifstream ifs(filename, std::ios::in | std::ios::binary);
if (!ifs.is_open()) {
Expand Down

0 comments on commit 25eadcd

Please sign in to comment.