From 9bb9d26417884f1c2efa3a33867f1d36de9b61ea Mon Sep 17 00:00:00 2001 From: JailDoctor Date: Fri, 2 Dec 2022 12:29:59 +0100 Subject: [PATCH] - Clase para pintado al pixel sobre una textura --- source/common/destsurface.cpp | 16 ++++++++++++++++ source/common/destsurface.h | 12 ++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 source/common/destsurface.cpp create mode 100644 source/common/destsurface.h diff --git a/source/common/destsurface.cpp b/source/common/destsurface.cpp new file mode 100644 index 0000000..ec91e2f --- /dev/null +++ b/source/common/destsurface.cpp @@ -0,0 +1,16 @@ +#include "destsurface.h" + +namespace DestSurface +{ + void Init(SDL_Renderer *renderer, SDL_Texture *texture) { + + } + + void Clear() { + + } + + uint32_t *getPixels() { + + } +} diff --git a/source/common/destsurface.h b/source/common/destsurface.h new file mode 100644 index 0000000..94c19ed --- /dev/null +++ b/source/common/destsurface.h @@ -0,0 +1,12 @@ +#pragma once + +#include + +namespace DestSurface +{ + void Init(SDL_Renderer *renderer, SDL_Texture *texture); + + void Clear(); + + uint32_t *getPixels(); +}