Skip to content

Instantly share code, notes, and snippets.

View mbabuskov's full-sized avatar

mbabuskov

View GitHub Profile
#ifndef CORE_SCREENSHOT_H_
#define CORE_SCREENSHOT_H_
//------------------------------------------------------------------------------
class Screenshot
{
public:
int id; // thread ID (only used for loggin and debugging)
bool stopflag; // used to "tell" the thread to stop and clean up
std::string file;
SDL_Surface *surface;