[render-test] Implement gfx probe for tracking gpu resources

This commit is contained in:
Mikko Pulkki
2019-10-15 12:03:04 +03:00
committed by Mikko Pulkki
parent fb062bb23e
commit a7a7e8cbe2
14 changed files with 267 additions and 34 deletions

View File

@@ -99,7 +99,7 @@ int main(int argc, char *argv[]) {
try {
std::ofstream out(output, std::ios::binary);
out << encodePNG(frontend.render(map));
out << encodePNG(frontend.render(map).image);
out.close();
} catch(std::exception& e) {
std::cout << "Error: " << e.what() << std::endl;