summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/eye.svg
diff options
context:
Diffstat (limited to 'src/qcam/assets/feathericons/eye.svg')
0 files changed, 0 insertions, 0 deletions
opt">} SDLTexture::~SDLTexture() { if (ptr_) SDL_DestroyTexture(ptr_); } int SDLTexture::create(SDL_Renderer *renderer) { ptr_ = SDL_CreateTexture(renderer, pixelFormat_, SDL_TEXTUREACCESS_STREAMING, rect_.w, rect_.h); if (!ptr_) { std::cerr << "Failed to create SDL texture: " << SDL_GetError() << std::endl; return -ENOMEM; } return 0; }