[render-test] Implement gfx probe for tracking gpu resources
This commit is contained in:
committed by
Mikko Pulkki
parent
fb062bb23e
commit
a7a7e8cbe2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user