forked from jaildesigner-jailgames/jaildoctors_dilemma
- Clase para pintado al pixel sobre una textura
This commit is contained in:
16
source/common/destsurface.cpp
Normal file
16
source/common/destsurface.cpp
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
#include "destsurface.h"
|
||||||
|
|
||||||
|
namespace DestSurface
|
||||||
|
{
|
||||||
|
void Init(SDL_Renderer *renderer, SDL_Texture *texture) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void Clear() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
uint32_t *getPixels() {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
12
source/common/destsurface.h
Normal file
12
source/common/destsurface.h
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <SDL2/SDL.h>
|
||||||
|
|
||||||
|
namespace DestSurface
|
||||||
|
{
|
||||||
|
void Init(SDL_Renderer *renderer, SDL_Texture *texture);
|
||||||
|
|
||||||
|
void Clear();
|
||||||
|
|
||||||
|
uint32_t *getPixels();
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user