Implementation of Recorder with dual PBO mechanism for best efficiency

and compatibility. Fixed user interface and avoid user creating multiple
recorders.
This commit is contained in:
brunoherbelin
2020-07-27 15:56:24 +02:00
parent 3f782736ac
commit 3bb3e66f55
6 changed files with 180 additions and 71 deletions

View File

@@ -24,6 +24,7 @@ Screenshot::Screenshot()
Screenshot::~Screenshot()
{
glDeleteBuffers(1, &Pbo);
if (Data) free(Data);
}