1
0
Fork 0
This repository has been archived on 2024-01-06. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
MrDev023-Cpp-Engine/src/render/image.cpp
2016-10-07 14:06:50 +02:00

11 lines
No EOL
198 B
C++

#include "renderer.h"
Image::Image(unsigned char* data,int width,int height){
this->data = data;
this->width = width;
this->height = height;
}
Image::~Image(){
delete this->data;
}