shithub: cstory

Download patch

ref: 30ea89d3fa8035d29d60b9ac7cafa875e7ffeb89
parent: e18ec87f999945cb3f397b9445d9e26d97b9569b
author: Clownacy <Clownacy@users.noreply.github.com>
date: Mon Sep 14 19:17:21 EDT 2020

Remove some now-unneeded struct members

--- a/src/Backends/Rendering/OpenGL3.cpp
+++ b/src/Backends/Rendering/OpenGL3.cpp
@@ -34,7 +34,6 @@
 	GLuint texture_id;
 	size_t width;
 	size_t height;
-	unsigned char *pixels;
 } RenderBackend_Surface;
 
 typedef struct RenderBackend_GlyphAtlas
--- a/src/Backends/Rendering/SDLTexture.cpp
+++ b/src/Backends/Rendering/SDLTexture.cpp
@@ -18,7 +18,6 @@
 typedef struct RenderBackend_Surface
 {
 	SDL_Texture *texture;
-	unsigned char *pixels;
 	size_t width;
 	size_t height;
 	bool render_target;